mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
This applies to both fenced and HTML-ish varieties. Otherwise we face an exponential performance problem with backtracking. This also accords with the behavior of the `fenced_divs` extension in commonmark. A warning is issued when a div is implicitly closed. Closes #9635.
17 lines
255 B
Markdown
17 lines
255 B
Markdown
```
|
|
% pandoc
|
|
> ::: {.fence}
|
|
> that is
|
|
> not closed
|
|
|
|
okay
|
|
^D
|
|
2> [WARNING] Div at _chunk line 1 column 1 unclosed at _chunk line 5 column 1, closing implicitly.
|
|
<blockquote>
|
|
<div class="fence">
|
|
<p>that is not closed</p>
|
|
</div>
|
|
</blockquote>
|
|
<p>okay</p>
|
|
```
|