diff options
author | Jochen Topf <jochen@topf.org> | 2013-01-23 11:09:41 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-01-23 11:09:41 +0100 |
commit | 313b67a57a71be3265d0c2b81cb77a06b1179df5 (patch) | |
tree | 7c62b3ad2b242bf83eb90b7f6b277a7223e48889 /web | |
parent | 12e8e3d3947065f5c6517ca67d96f8b83bdbd543 (diff) | |
download | taginfo-313b67a57a71be3265d0c2b81cb77a06b1179df5.tar taginfo-313b67a57a71be3265d0c2b81cb77a06b1179df5.tar.gz |
Fix for #16: Do not escape some wiki urls
Diffstat (limited to 'web')
-rw-r--r-- | web/lib/utils.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/lib/utils.rb b/web/lib/utils.rb index 343c6df..34f3d48 100644 --- a/web/lib/utils.rb +++ b/web/lib/utils.rb @@ -146,13 +146,13 @@ def get_wiki_result(res) :title => h(row['title']), :description => h(row['description']), :image => { - :title => h(row['image']), + :title => row['image'], :width => row['width'].to_i, :height => row['height'].to_i, - :mime => h(row['mime']), - :image_url => h(row['image_url']), - :thumb_url_prefix => h(row['thumb_url_prefix']), - :thumb_url_suffix => h(row['thumb_url_suffix']) + :mime => row['mime'], + :image_url => row['image_url'], + :thumb_url_prefix => row['thumb_url_prefix'], + :thumb_url_suffix => row['thumb_url_suffix'] }, :on_node => row['on_node'].to_i == 1, :on_way => row['on_way'].to_i == 1, |