efc6994c8a
Starting with 2.10.1, fenced divs no longer render with HTML div tags in commonmark output. This is a regression due to our transition from cmark-gfm. This commit fixes it. Closes #6768.
21 lines
204 B
Markdown
21 lines
204 B
Markdown
```
|
|
% pandoc -tcommonmark
|
|
::: custom_div
|
|
This is a div
|
|
:::
|
|
^D
|
|
<div class="custom_div">
|
|
|
|
This is a div
|
|
|
|
</div>
|
|
```
|
|
|
|
```
|
|
% pandoc -tcommonmark-raw_html
|
|
::: custom_div
|
|
This is a div
|
|
:::
|
|
^D
|
|
This is a div
|
|
```
|