5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-02 07:14:16 +00:00

cargar html que ya existía

This commit is contained in:
f 2021-02-25 18:00:43 -03:00
parent ba2d714348
commit cb5890e00e

View file

@ -22,7 +22,7 @@ class MetadataContent < MetadataTemplate
return unless document.content
return document.content if /^\s*</ =~ document.content
CommonMarker.render_doc(document.content, %i[FOOTNOTES], %i[table strikethrough autolink]).to_html
CommonMarker.render_doc(document.content, %i[FOOTNOTES UNSAFE], %i[table strikethrough autolink]).to_html
end
# Limpiar el HTML que recibimos