5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 14:36:22 +00:00

fix: no eliminar <code>

This commit is contained in:
f 2023-01-06 12:48:53 -03:00
parent e55e981305
commit 501091acc5

View file

@ -203,7 +203,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
def allowed_tags
@allowed_tags ||= %w[strong em del u mark p h1 h2 h3 h4 h5 h6 ul ol li img iframe audio video div figure blockquote
figcaption a sub sup small table thead tbody tfoot tr th td br].freeze
figcaption a sub sup small table thead tbody tfoot tr th td br code].freeze
end
# Decifra el valor