diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-11-29 13:37:21 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-11-29 13:42:15 -0500 |
commit | e54d00b5d0e4c974619dd919697894825e6ecdc4 (patch) | |
tree | 5eaf65bca7fd4028c95fba7128b3db70767b920e /lib/sisu/v2/html_format.rb | |
parent | texpdf, use of monospace in headings causes table of contents breakage, fix (diff) |
html & css: ocn (object numbers) now link to themselves
* jumps to top of browser
* provides link url
(requested, Ben Armstrong (live-manual))
Diffstat (limited to 'lib/sisu/v2/html_format.rb')
-rw-r--r-- | lib/sisu/v2/html_format.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v2/html_format.rb b/lib/sisu/v2/html_format.rb index c4758c5f..89ee812f 100644 --- a/lib/sisu/v2/html_format.rb +++ b/lib/sisu/v2/html_format.rb @@ -82,7 +82,7 @@ module SiSU_HTML_Format else ocn_class='ocn' @ocn.gsub(/^(\d+|)$/, - %{<label class="#{ocn_class}"><a name="#{@ocn}">\\1</a></label>}) + %{<label class="#{ocn_class}"><a name="#{@ocn}" href="##{@ocn}" class="lnk#{ocn_class}">\\1</a></label>}) end end def name |