asciidoctor / asciidoctor-bibtex

Add bibtex citation support for asciidoc documents
Other
69 stars 27 forks source link

Regression in version 0.4.0 #44

Closed pela9 closed 5 years ago

pela9 commented 5 years ago

The latest version 0.4.0 of asciidoctor-bibtex fixed the crash with asciidoctor version >= 2.0, but introduces a regression failure. The produced reference table is OK, but he inline macros "cite:[]" are not processed in DocBook translation but left verbatim in the DocBook output.

gavinmacaulay commented 5 years ago

I see the same problem with html5 (and pdf) output when using 0.4.0. Reverting to 0.3.1 removes the problem.

ProgramFan commented 5 years ago

I will check it.

ProgramFan commented 5 years ago

I see. This is caused by a PR changing text.gsub! to text = text.gsub. What is the standard way to change the text in place?