Method: IsoDoc::HtmlFunction::Comments#make_comment_link
- Defined in:
- lib/isodoc/html_function/comments.rb
#make_comment_link(out, fnote, node) ⇒ Object
add in from and to links to move the comment into place
30 31 32 33 34 35 36 |
# File 'lib/isodoc/html_function/comments.rb', line 30 def make_comment_link(out, fnote, node) out.span(**comment_link_attrs(fnote, node)) do |s1| s1.a **{ style: "mso-comment-reference:SMC_#{fnote};"\ "mso-comment-date:#{node['date'].gsub(/[-:Z]/, '')}" } end end |