From d9dcbbadd335bdfdb69447340962f625663657d9 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 20 Aug 2019 18:58:28 -0300 Subject: [PATCH] eliminar retornos de carro --- app/models/metadata_content.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?