Commit e491651432533349fd55df3ed5d0cda537e73beb
1 parent
75e1e5f0
Exists in
master
and in
29 other branches
ActionItem188: fixing
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1576 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/boxes_helper.rb
... | ... | @@ -66,7 +66,7 @@ module BoxesHelper |
66 | 66 | when Hash |
67 | 67 | content_tag('iframe', '', :src => url_for(content)) |
68 | 68 | when String |
69 | - if content =~ /^https?:\/\// | |
69 | + if content.split("\n").size == 1 and content =~ /^https?:\/\// | |
70 | 70 | content_tag('iframe', '', :src => content) |
71 | 71 | else |
72 | 72 | content | ... | ... |