mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 01:36:22 +00:00
fix: usar MetadataContent#to_s para procesar los adjuntos
This commit is contained in:
parent
04622751ef
commit
0781bee40a
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@
|
|||
post: post, attribute: attribute, metadata: metadata
|
||||
|
||||
.new-editor.content{ id: attribute }
|
||||
= text_area_tag "#{base}[#{attribute}]", metadata.value.html_safe,
|
||||
= text_area_tag "#{base}[#{attribute}]", metadata.to_s.html_safe,
|
||||
dir: dir, lang: locale,
|
||||
**field_options(attribute, metadata), class: 'd-none'
|
||||
|
|
|
@ -38,4 +38,4 @@
|
|||
|
||||
- cache [metadata, I18n.locale] do
|
||||
%section.content.pb-3{ id: attr, dir: dir }
|
||||
= @post.public_send(attr).value.html_safe
|
||||
= @post.public_send(attr).to_s.html_safe
|
||||
|
|
Loading…
Reference in a new issue