-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Code blocks/fences within Admonitions render multiple times #2614
Comments
UpdateI checked on a different machine that was still running version 0.11.10 and the admonition code block was rendering fine. I then updated to 0.11.11 to check whether the bug was introduced by the update, but it's still working on this laptop. Edit: Might be related to #2613. My other code blocks are rendering fine though. |
I have the same issue on 0.11.11. |
Yup, that fixes it for me too. After a restart I was able to reproduce the bug on both systems, even though it worked fine one of them before. ¯_(ツ)_/¯ |
Came to here to report the same bug. The bug can be reproduced by:
|
Sorry, I'm the sinful who have made the bug. 😭 |
@wAuner sorry about that. The fix has been merged into the |
Current behavior
Using code blocks within an admonition renders three copies of the block, weirdly enough twice before the description and once after. See screenshot for details.
I tried removing the code fence HTML definition but that doesn't make any difference.
The only console errors are about some plantUML issue. I tried removing all plantUML sections from the note on the off chance that it was related but that didn't make any difference either.
Expected behavior
Only one code block should be rendered, the one after the description.
Steps to reproduce
Environment
The text was updated successfully, but these errors were encountered: