asciidoctor / asciidoctor-mathematical

An extension for Asciidoctor that converts the content of STEM blocks and inline macros using Mathematical.
MIT License
49 stars 44 forks source link

Fixed FrozenError #55

Closed bwittman closed 5 years ago

bwittman commented 5 years ago

In some documents, latexmath will appear in text passed to handle_inline_stem as a frozen string.

By changing line 135 to include text = text.gsub(stem_rx) instead of text.gsub!(stem_rx), this error no longer occurs.

ProgramFan commented 5 years ago

Thanks for the contribution.