summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-23 11:09:41 +0100
committerJochen Topf <jochen@topf.org>2013-01-23 11:09:41 +0100
commit313b67a57a71be3265d0c2b81cb77a06b1179df5 (patch)
tree7c62b3ad2b242bf83eb90b7f6b277a7223e48889 /web
parent12e8e3d3947065f5c6517ca67d96f8b83bdbd543 (diff)
downloadtaginfo-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.rb10
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,