Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditionally add break after multiline code block
In the Discord web client (and presumably others) multiline code blocks are rendered using `<pre><code>text</code></pre>`. Since `<pre>` is a block-level element, the text is always displayed on its own line(s). Mimic this behavior by adding a line break when text following the block would appear on the same line. Ignore collapsible white space, as a browser would. Fixes: EionRobb#207 Signed-off-by: Kevin Locke <[email protected]>
- Loading branch information