Fix issue with full HTML + DOCTYPE being inserted

This commit is contained in:
Stephan Ango 2022-10-09 13:51:36 -07:00
parent 53292ac092
commit bec23cfcc7

View File

@ -23,6 +23,6 @@ def convert_links(doc)
parsed_doc.css("a:not(.internal-link):not(.footnote):not(.reversefootnote)").each do |link|
link.set_attribute('target', '_blank')
end
doc.content = parsed_doc.to_html
doc.content = parsed_doc.inner_html
end
end