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
When I render with HtmlRenderer.NO_P_TAGS_USE_BR set to true,
there will be 2 trailing new lines added to the element.
Examples:
input: **bold**
output: <strong>bold</strong><br /><br />\n
However it does not happen to block level elements.
Examples:
input: # Headline
output: <h1>Headline</h1>\n
How could I remove the trailing new lines for inline elements to have it behave consistently as the block level elements?
The text was updated successfully, but these errors were encountered:
When I render with
HtmlRenderer.NO_P_TAGS_USE_BR
set to true,there will be 2 trailing new lines added to the element.
Examples:
input:
**bold**
output:
<strong>bold</strong><br /><br />\n
However it does not happen to block level elements.
Examples:
input:
# Headline
output:
<h1>Headline</h1>\n
How could I remove the trailing new lines for inline elements to have it behave consistently as the block level elements?
The text was updated successfully, but these errors were encountered: