lib/asciidoctor/iso/inline.rb in asciidoctor-iso-0.9.9 vs lib/asciidoctor/iso/inline.rb in asciidoctor-iso-0.10.0

- old
+ new

@@ -91,10 +91,10 @@ noko { |xml| xml.hr }.join("\n") end def stem_parse(text, xml) if /&lt;([^:>&]+:)?math(\s+[^>&]+)?&gt; | - <([^:>&]+:)?math(\s+[^>&]+)?>/x.match? text + <([^:>&]+:)?math(\s+[^>&]+)?>/x.match text math = HTMLEntities.new.encode(text, :basic, :hexadecimal). gsub(/&amp;gt;/, ">").gsub(/\&amp;lt;/, "<").gsub(/&amp;amp;/, "&"). gsub(/&gt;/, ">").gsub(/&lt;/, "<").gsub(/&amp;/, "&") xml.stem math, **{ type: "MathML" } else