lib/coderay/encoders/html/output.rb in coderay-1.0.0.815pre vs lib/coderay/encoders/html/output.rb in coderay-1.0.0.831pre
- old
+ new
@@ -122,11 +122,11 @@
</div>
DIV
TABLE = Template.new <<-TABLE
<table class="CodeRay"><tr>
- <td class="line_numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre><%LINE_NUMBERS%></pre></td>
+ <td class="line-numbers" title="double click to toggle" ondblclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre><%LINE_NUMBERS%></pre></td>
<td class="code"><pre><%CONTENT%></pre></td>
</tr></table>
TABLE
PAGE = Template.new <<-PAGE
@@ -134,10 +134,10 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
-.CodeRay .line_numbers a, .CodeRay .no a {
+.CodeRay .line-numbers a {
text-decoration: inherit;
color: inherit;
}
<%CSS%>
</style>