Method: IsoDoc::WordFunction::Body#li_parse
- Defined in:
- lib/isodoc/word_function/body.rb
#li_parse(node, out) ⇒ Object
224 225 226 227 228 229 230 231 232 233 |
# File 'lib/isodoc/word_function/body.rb', line 224 def li_parse(node, out) out.li **attr_code(id: node["id"]) do |li| if node["uncheckedcheckbox"] == "true" li << '<span class="zzMoveToFollowing">☐ </span>' elsif node["checkedcheckbox"] == "true" li << '<span class="zzMoveToFollowing">☑ </span>' end node.children.each { |n| parse(n, li) } end end |