The minimal reproducible example is (sorry, I'm working in Scala)
val asciidocString = """
== Chapter1
~~~~
This should be an open block
~~~~
== Chapter2
"""
println(asciidoctor.convert(asciidocString, Options.builder().build()))
Expected result:
<div class="sect1">
<h2 id="_chapter1">Chapter1</h2>
<div class="sectionbody">
<div class="openblock">
<div class="content">
<div class="paragraph">
<p>This should be an open block</p>
</div>
</div>
</div>
</div>
</div>
<div class="sect1">
<h2 id="_chapter2">Chapter2</h2>
<div class="sectionbody">
</div>
</div>
What I get:
<div class="sect1">
<h2 id="_chapter1">Chapter1</h2>
<div class="sectionbody">
<div class="paragraph">
<p><sub>~</sub>~
This should be an open block
<sub>~</sub>~
== Chapter2</p>
</div>
</div>
</div>
Asciidoctor already supports this https://github.com/asciidoctor/asciidoctor/blob/main/CHANGELOG.adoc
Sorry if I'm rushing you too much. I know is a pretty recent change upstream. 😊
The minimal reproducible example is (sorry, I'm working in Scala)
Expected result:
What I get:
Asciidoctor already supports this https://github.com/asciidoctor/asciidoctor/blob/main/CHANGELOG.adoc
Sorry if I'm rushing you too much. I know is a pretty recent change upstream. 😊