mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 06:51:42 +00:00
cargar html que ya existía
This commit is contained in:
parent
ba2d714348
commit
cb5890e00e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class MetadataContent < MetadataTemplate
|
||||||
return unless document.content
|
return unless document.content
|
||||||
return document.content if /^\s*</ =~ 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
|
end
|
||||||
|
|
||||||
# Limpiar el HTML que recibimos
|
# Limpiar el HTML que recibimos
|
||||||
|
|
Loading…
Reference in a new issue