Skip to content

Commit

Permalink
Merge pull request #55 from bwittman/master
Browse files Browse the repository at this point in the history
Fixed FrozenError
  • Loading branch information
ProgramFan authored May 17, 2019
2 parents 242e250 + e26c6ba commit da3cb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciidoctor-mathematical/extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def handle_inline_stem(node, text, mathematical, image_output_dir, image_target_

source_modified = false
# TODO skip passthroughs in the source (e.g., +stem:[x^2]+)
text.gsub!(stem_rx) {
text = text.gsub(stem_rx) {
if (m = $~)[0].start_with? '\\'
next m[0][1..-1]
end
Expand Down

0 comments on commit da3cb0f

Please sign in to comment.