Blank lines in code fence blocks cause fencing to terminate
Closed this issue · 2 comments
picorealm commented
Any issue will be ignored if you don't provide the following detailed information.
Describe the bug
In ``` fenced code blocks, if there is a blank line in the code block, it causes the fencing to end. Markdown allows there to be blank lines within fenced code blocks, so this is a bug.
To reproduce
Steps to reproduce the behavior:
- Insert a fence code block on a page, for example ```sh
- Add multiple lines to the block, including one blank line
- On the rendered page the fencing is not rendered after the blank line
Expected behavior
Code fencing should be able to handle blank lines
Server environment
- WordPress version 5.8.3
- WP Githuber MD plugin version 1.16.1
- PHP version 7.4.26
User environment
- OS: Linux
- Browser Chrome - Firefox
github-actions commented
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 2 days.
github-actions commented
This issue was closed because it has been inactive for 14 days since being marked as stale.