Use <summary> to encode content warnings instead
This commit is contained in:
		| @ -42,9 +42,8 @@ module AtomBuilderHelper | ||||
|   end | ||||
|  | ||||
|   def content(xml, content, warning = nil) | ||||
|     extra = { type: 'html' } | ||||
|     extra[:warning] = warning unless warning.blank? | ||||
|     xml.content(extra, content) unless content.blank? | ||||
|     xml.summary(warning) unless warning.blank? | ||||
|     xml.content({ type: 'html' }, content) unless content.blank? | ||||
|   end | ||||
|  | ||||
|   def title(xml, title) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user