]> git.openstreetmap.org Git - rails.git/commitdiff
Make links in tags active in the data browser. Fixes #1855.
authorTom Hughes <tom@compton.nu>
Sat, 30 May 2009 11:27:25 +0000 (11:27 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 30 May 2009 11:27:25 +0000 (11:27 +0000)
app/views/browse/_tag.rhtml

index 8a57387bf82bd5047a481000f049a87ea78a0a2a..a9a122e6da6cbf9f49a6f6467323659f15e92535 100644 (file)
@@ -1,3 +1,3 @@
 <tr>
-  <td><%= h(tag[0]) %> = <%= h(tag[1]) %></td>
+  <td><%= h(tag[0]) %> = <%= sanitize(auto_link(tag[1])) %></td>
 </tr>