Skip to content

Commit

Permalink
Fixed #513
Browse files Browse the repository at this point in the history
  • Loading branch information
itstorque committed Sep 9, 2019
1 parent 0492b6d commit c38a702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/concerns/article_xml_exportable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ def as_xml(parts)
case c.name.to_sym
when :text
content += c.text
when :a
content += c.content
when :em
content += "<em>#{c.text}</em>"
when :strong
content += "<strong>#{c.text}</strong>"
when :a
content += c.inner_html
end
end
content += "</#{CHUNK_MAPPING[fc.name]}>\n"
Expand Down

0 comments on commit c38a702

Please sign in to comment.