preserve indentation with in code HTML output
This commit is contained in:
parent
1fe35ea23d
commit
0b463881cb
@ -52,7 +52,7 @@
|
||||
<% end %>
|
||||
</td>
|
||||
<td><%= line_number %></td>
|
||||
<td class="code"><%= CGI.escape_html(line.chomp).gsub("\t", " " * 4) %></td>
|
||||
<td class="code"><%= CGI.escape_html(line.chomp).gsub("\t", " " * 4).gsub(" ", " ") %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user