Closed bwittman closed 5 years ago
In some documents, latexmath will appear in text passed to handle_inline_stem as a frozen string.
handle_inline_stem
By changing line 135 to include text = text.gsub(stem_rx) instead of text.gsub!(stem_rx), this error no longer occurs.
text = text.gsub(stem_rx)
text.gsub!(stem_rx)
Thanks for the contribution.
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 oftext.gsub!(stem_rx)
, this error no longer occurs.