Commit 30c2c6bb9692ecae9a163a57f29caa3ea6a3a918
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'virtuoso_integration' into stable
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/virtuoso/lib/virtuoso_plugin/noosfero_harvest.rb
@@ -148,7 +148,7 @@ class VirtuosoPlugin::NoosferoHarvest | @@ -148,7 +148,7 @@ class VirtuosoPlugin::NoosferoHarvest | ||
148 | 148 | ||
149 | def process_value(value) | 149 | def process_value(value) |
150 | if value.kind_of?(String) | 150 | if value.kind_of?(String) |
151 | - value = /^https?:\/\//.match(value) ? RDF::URI.new(value) : RDF::Literal.new(strip_tags(value)) | 151 | + value = /^https?:\/\//.match(value) ? RDF::URI.new(value) : RDF::Literal.new(strip_tags(value).delete("\n|\r")) |
152 | else | 152 | else |
153 | value = RDF::Literal.new(value) | 153 | value = RDF::Literal.new(value) |
154 | end | 154 | end |