lib/isodoc/function/to_word_html.rb in isodoc-0.9.13 vs lib/isodoc/function/to_word_html.rb in isodoc-0.9.14
- old
+ new
@@ -180,15 +180,9 @@
def parse(node, out)
if node.text?
text_parse(node, out)
else
case node.name
- #when "em" then out.i { |e| e << node.inner_html }
- #when "strong" then out.b { |e| e << node.inner_html }
- #when "sup" then out.sup { |e| e << node.inner_html }
- #when "sub" then out.sub { |e| e << node.inner_html }
- #when "tt" then out.tt { |e| e << node.inner_html }
- #when "strike" then out.s { |e| e << node.inner_html }
when "em" then em_parse(node, out)
when "strong" then strong_parse(node, out)
when "sup" then sup_parse(node, out)
when "sub" then sub_parse(node, out)
when "tt" then tt_parse(node, out)