You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user manual says, "The quotes substitution occurs on formatted text within title, paragraph, example, quote, sidebar, and verse blocks." So I'd expect the strong quotes in this asciidoc snippet to be substituted to <strong> tags:
[verse]
And when I was ten *you murdered law with courtroom politics,*
And you learned to make a lie sound just like truth;
But I know you better now and I don't fall for all your tricks,
And you've lost the one advantage of my youth.
However, running "asciidoctor -b html5 -s" on the above produces this output (version 0.1.4):
<div class="verseblock">
<pre class="content">And when I was ten *you murdered law with courtroom politics,*
And you learned to make a lie sound just like truth;
But I know you better now and I don't fall for all your tricks,
And you've lost the one advantage of my youth.</pre>
(Note the * quotes have not been converted to STRONG tags.)
Setting [subs="normal"] causes the quoted text to be expanded properly, but I'd rather have quotes substituted by default than have to modify all of my verse blocks
Running the python asciidoc on the same input results in the expected output:
<div class="verseblock">
<pre class="content">And when I was ten <strong>you murdered law with courtroom politics,</strong>
And you learned to make a lie sound just like truth;
But I know you better now and I don’t fall for all your tricks,
And you’ve lost the one advantage of my youth.</pre>
<div class="attribution">
</div></div>
The text was updated successfully, but these errors were encountered:
This problem is already fixed as of 1.5.0.preview.6. I'll give you an opportunity to try this with the latest Asciidoctor release. I'll close the issue once you confirm it's fixed for your use case.
Thank you, mojavelinux. I can confirm that this works as expected with 1.5.0.preview.6, so you may close this issue. In the future I'll be more diligent about testing with the latest gem/git version before opening spurious issues!
Don't be too hard on yourself about the duplicate. This is mostly on us for
letting the 1.5.0 release linger so much. In the future we'll be releasing
more rapidly.
The user manual says, "The quotes substitution occurs on formatted text within title, paragraph, example, quote, sidebar, and verse blocks." So I'd expect the strong quotes in this asciidoc snippet to be substituted to <strong> tags:
However, running "asciidoctor -b html5 -s" on the above produces this output (version 0.1.4):
(Note the * quotes have not been converted to STRONG tags.)
Setting [subs="normal"] causes the quoted text to be expanded properly, but I'd rather have quotes substituted by default than have to modify all of my verse blocks
Running the python asciidoc on the same input results in the expected output:
The text was updated successfully, but these errors were encountered: