lib/isodoc/function/to_word_html.rb in isodoc-2.10.5 vs lib/isodoc/function/to_word_html.rb in isodoc-2.10.6

- old
+ new

@@ -151,10 +151,16 @@ @meta.note isoxml, out @meta.presentation isoxml, out @meta.get end + def cross_align(isoxml, out) + isoxml.xpath(ns("//cross-align")).each do |c| + parse(c, out) + end + end + def boilerplate(node, out) @bare and return boilerplate = node.at(ns("//boilerplate")) or return out.div class: "authority" do |s| boilerplate.children.each do |n| @@ -247,12 +253,14 @@ when "select" then select_parse(node, out) when "label" then label_parse(node, out) when "option" then option_parse(node, out) when "textarea" then textarea_parse(node, out) when "toc" then toc_parse(node, out) + when "title" then freestanding_title(node, out) # not inside clause when "variant-title" then variant_title(node, out) when "span" then span_parse(node, out) when "location" then location_parse(node, out) + when "cross-align" then cross_align_parse(node, out) when "columnbreak" then columnbreak_parse(node, out) when "ruby" then ruby_parse(node, out) when "rt" then rt_parse(node, out) when "rb" then rb_parse(node, out) else error_parse(node, out)