Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callouts rendered after admonition blocks #785

Closed
xcoulon opened this issue Oct 21, 2020 · 0 comments · Fixed by #789
Closed

Callouts rendered after admonition blocks #785

xcoulon opened this issue Oct 21, 2020 · 0 comments · Fixed by #789
Assignees
Milestone

Comments

@xcoulon
Copy link
Member

xcoulon commented Oct 21, 2020

For example:

[source]
----
foo <1>
----
<1> foo

[NOTE]
====
a note
====

gives

<div class="listingblock">
<div class="content">
<pre class="highlight"><code>foo <b class="conum">(1)</b></code></pre>
</div>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<div class="title">Note</div>
</td>
<td class="content">
<div class="paragraph">
<p>a note</p>
</div>
</td>
</tr>
</table>
</div>
<div class="colist arabic">
<ol>
<li>
<p>foo</p>
</li>
</ol>
</div>

instead of

<div class="listingblock">
<div class="content">
<pre class="highlight"><code>foo <b class="conum">(1)</b></code></pre>
</div>
</div>
<div class="colist arabic">
<ol>
<li>
<p>foo</p>
</li>
</ol>
</div>
<div class="admonitionblock note">
<table>
<tr>
<td class="icon">
<div class="title">Note</div>
</td>
<td class="content">
<div class="paragraph">
<p>a note</p>
</div>
</td>
</tr>
</table>
</div>

😳

@xcoulon xcoulon added this to the v0.6.0 milestone Oct 21, 2020
@xcoulon xcoulon self-assigned this Oct 21, 2020
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Oct 25, 2020
refactor the logic to rearrange list items in list, using
a 'listArranger' type (until we have a better name)

Fixes bytesparadise#785

Signed-off-by: Xavier Coulon <[email protected]>
xcoulon added a commit to xcoulon/libasciidoc that referenced this issue Oct 25, 2020
refactor the logic to rearrange list items in list, using
a 'listArranger' type (until we have a better name)

also, updates on dependencies via `go mod tidy`

Fixes bytesparadise#785

Signed-off-by: Xavier Coulon <[email protected]>
xcoulon added a commit that referenced this issue Oct 25, 2020
refactor the logic to rearrange list items in list, using
a 'listArranger' type (until we have a better name)

also, updates on dependencies via `go mod tidy`

Fixes #785

Signed-off-by: Xavier Coulon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant