Improve the browse helper code use to generate wiki links

This commit is contained in:
Tom Hughes 2010-04-20 19:04:12 +01:00
parent da74fbb769
commit d6755356e0
3 changed files with 25 additions and 32 deletions

View file

@ -1,3 +1,3 @@
<tr>
<td><%= wiki_link("key", h(tag[0]), nil) %> = <%= wiki_link("tag", h(tag[0]), auto_link(h(tag[1]))) %></td>
<td><%= format_key(tag[0]) %> = <%= format_value(tag[0], tag[1]) %></td>
</tr>