Method: IsoDoc::HtmlFunction::Html#heading_anchor
- Defined in:
- lib/isodoc/html_function/postprocess.rb
#heading_anchor(hdr, id) ⇒ Object
45 46 47 48 49 |
# File 'lib/isodoc/html_function/postprocess.rb', line 45 def heading_anchor(hdr, id) hdr.children = " <a class='anchor' href='#\#{id}'/><a class='header' href='#\#{id}'>\#{hdr.children.to_xml}</a>\n HTML\nend\n".strip |