Closed Jiasm closed 7 years ago
captionRegex matching error occurred when multiple code tags were present.
captionRegex
When some of this text appears in the markdown file:
contentText will be:
contentText
'<p><code>code</code>highlight</p>'+ '<pre><code class="javascript">'+ 'let text = 'something code''+ '</code></pre>'+ '<p>something <code>wrong</code></p>'
And then, we get a wrong result:
Thanks for you contribution, this change has been included in version 2.2.0
You are welcome :)
captionRegex
matching error occurred when multiple code tags were present.When some of this text appears in the markdown file:
contentText
will be:And then, we get a wrong result: