diff --git a/app/models/metadata_content.rb b/app/models/metadata_content.rb index 3573fc4..76b78c8 100644 --- a/app/models/metadata_content.rb +++ b/app/models/metadata_content.rb @@ -11,7 +11,7 @@ class MetadataContent < MetadataTemplate def value sanitize(self[:value] || document.content || default_value, - sanitize_options) + sanitize_options).tr("\r", '') end def front_matter?