Method: IsoDoc::WordFunction::Comments#make_comment_link
- Defined in:
- lib/isodoc/word_function/comments.rb
#make_comment_link(out, fn, node) ⇒ Object
add in from and to links to move the comment into place
30 31 32 33 34 35 36 37 38 39 |
# File 'lib/isodoc/word_function/comments.rb', line 30 def make_comment_link(out, fn, node) out.span(**comment_link_attrs(fn, node)) do |s1| s1.span **{ lang: "EN-GB", style: "font-size:9.0pt" } do |s2| s2.a **{ style: "mso-comment-reference:SMC_#{fn};"\ "mso-comment-date:#{node['date'].gsub(/[:-]+/, '')}" } s2.span **{ style: "mso-special-character:comment", target: fn } # do |s| end end end |