Allow for multiple inline blocks in a paragraph

- Adjust the inlineBlock regex to match until the first `]` and `}`,
this allows for multiple inline blocks to be present on the same line.
- Test added.
This commit is contained in:
Gusted 2024-07-29 17:22:13 +02:00
parent f7c2b120f7
commit f537c0bda3
No known key found for this signature in database
GPG key ID: FD821B732837125F
4 changed files with 9 additions and 3 deletions

View file

@ -18,6 +18,12 @@ also hard line breaks not followed by a newline get ignored, see \\</li>
&lt;h1&gt;hello&lt;/h1&gt;
</pre>
</div>
</div> and this <div class="src src-inline src-schema">
<div class="highlight-inline">
<pre>
world
</pre>
</div>
</div></li>
<li>inline export blocks <h1>hello</h1></li>
<li><code class="verbatim">multiline emphasis is