##// END OF EJS Templates
Display the link name when external links are used in the toc macro. #5445...
Display the link name when external links are used in the toc macro. #5445 Contributed by Yuki Kita and Jean-Baptiste Barth git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3786 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3471:ad487bf7cc4b
r3672:b53de502ab60
Show More
_file.rhtml
11 lines | 369 B | text/html+ruby | RhtmlLexer
<div class="autoscroll">
<table class="filecontent syntaxhl">
<tbody>
<% line_num = 1 %>
<% syntax_highlight(filename, to_utf8(content)).each_line do |line| %>
<tr><th class="line-num" id="L<%= line_num %>"><a href="#L<%= line_num %>"><%= line_num %></a></th><td class="line-code"><pre><%= line %></pre></td></tr>
<% line_num += 1 %>
<% end %>
</tbody>
</table>
</div>