diff --git a/app/models/metadata_content.rb b/app/models/metadata_content.rb index b11818a2..525f38ab 100644 --- a/app/models/metadata_content.rb +++ b/app/models/metadata_content.rb @@ -15,14 +15,18 @@ class MetadataContent < MetadataTemplate false end + def document_value + document.content + end + private # Detectar si el contenido estaba en Markdown y pasarlo a HTML def legacy_content - return unless document.content - return document.content if /^\s*