You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments