diff options
author | Jochen Topf <jochen@topf.org> | 2013-02-14 20:43:15 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2013-02-14 20:43:15 +0100 |
commit | f70e889fdb7afadd09af545df233c17ad151acee (patch) | |
tree | 00c615b7636898f1b2593deb1fe9a116eb49f1d9 /web/lib/ui | |
parent | 82eeb55f1e7a70336a15af2526b76321563f480c (diff) | |
download | taginfo-f70e889fdb7afadd09af545df233c17ad151acee.tar taginfo-f70e889fdb7afadd09af545df233c17ad151acee.tar.gz |
Fixed mixed escaping errors
Diffstat (limited to 'web/lib/ui')
-rw-r--r-- | web/lib/ui/keys.rb | 2 | ||||
-rw-r--r-- | web/lib/ui/tags.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/ui/keys.rb b/web/lib/ui/keys.rb index 84e23f3..f53c73b 100644 --- a/web/lib/ui/keys.rb +++ b/web/lib/ui/keys.rb @@ -10,7 +10,7 @@ class Taginfo < Sinatra::Base @key_uri = escape(@key) - @title = [escape_html(@key), t.osm.keys] + @title = [@key, t.osm.keys] section :keys @filter_type = get_filter() diff --git a/web/lib/ui/tags.rb b/web/lib/ui/tags.rb index 8c4db79..8018ab2 100644 --- a/web/lib/ui/tags.rb +++ b/web/lib/ui/tags.rb @@ -21,7 +21,7 @@ class Taginfo < Sinatra::Base @key_uri = escape(@key) - @title = [escape_html(@key) + '=' + escape_html(@value), t.osm.tags] + @title = [@key + '=' + @value, t.osm.tags] section :tags @filter_type = get_filter() |