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 | 148 | |
149 | 149 | def process_value(value) |
150 | 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 | 152 | else |
153 | 153 | value = RDF::Literal.new(value) |
154 | 154 | end | ... | ... |