diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-26 23:50:15 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-26 23:50:15 +0100 |
commit | d4ebc3a51dfe4c0ad70c2a175e46226cb291cfe4 (patch) | |
tree | bb4ccefffe2caf840ee03240ab6f442e9fad76ba /lib/LXRng/Markup/File.pm | |
parent | 5805d89cb0f2ab7867a8d9689b8c99488b5af8c3 (diff) |
Js and HTML changes to please IE.
Diffstat (limited to 'lib/LXRng/Markup/File.pm')
-rw-r--r-- | lib/LXRng/Markup/File.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/LXRng/Markup/File.pm b/lib/LXRng/Markup/File.pm index d94952c..c3d576c 100644 --- a/lib/LXRng/Markup/File.pm +++ b/lib/LXRng/Markup/File.pm @@ -49,9 +49,8 @@ sub make_format_newline { $line++; $nl = safe_html($nl); - return qq{$nl}. - qq{<a href="$name#L$line" class="line">$line</a>}. - qq{<a id="L$line" name="L$line"></a>}; + return sprintf('%s<a href="%s#L%d" id="L%d" class="line" name="L%d">%4d</a>', + $nl, $name, $line, $line, $line, $line); } } |