mostrar el html, no limpiar links
This commit is contained in:
parent
39f2c1ad4d
commit
19d39b2d69
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ MetadataTemplate = Struct.new(:site, :document, :name, :label, :type,
|
|||
end
|
||||
|
||||
def allowed_attributes
|
||||
@allowed_attributes ||= %w[style src alt controls data-align].freeze
|
||||
@allowed_attributes ||= %w[style href src alt controls data-align].freeze
|
||||
end
|
||||
|
||||
def allowed_tags
|
||||
|
|
|
@ -70,4 +70,4 @@
|
|||
%input.form-control{ type: 'url', data: { prop: 'link-href' } }/
|
||||
|
||||
.editor-content.form-control.h-auto{ contenteditable: 'true' }
|
||||
= metadata.value
|
||||
= metadata.value.html_safe
|
||||
|
|
Loading…
Reference in a new issue