We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@voku commented in the code change from #7 that there should be a difference between how <p> and <br> are displayed.
<p>
<br>
At the moment, the following text will be rendered:
<p>Some content</p><p>Here<br>And there</p>
As:
Some content Here And there
\nSome content\n\nHere\nAnd there\n
@voku is suggesting change <p> tags to render as "\n\n" . $content . "\n\n" The above example then becomes:
"\n\n" . $content . "\n\n"
\n\nSome content\n\n\n\nHere\nAnd there\n\n
Which, after normalisation of the newlines becomes:
\n\nSome content\n\nHere\nAnd there\n\n
The net result is the same in many situations, but will be different where the net element is not a paragraph (e.g. an H3, or a table).
The text was updated successfully, but these errors were encountered:
That sounds reasonable, if you can put together a PR I'll happily merge :)
Sorry, something went wrong.
No branches or pull requests
@voku commented in the code change from #7 that there should be a difference between how
<p>
and<br>
are displayed.At the moment, the following text will be rendered:
As:
\nSome content\n\nHere\nAnd there\n
@voku is suggesting change
<p>
tags to render as"\n\n" . $content . "\n\n"
The above example then becomes:
\n\nSome content\n\n\n\nHere\nAnd there\n\n
Which, after normalisation of the newlines becomes:
\n\nSome content\n\nHere\nAnd there\n\n
The net result is the same in many situations, but will be different where the net element is not a paragraph (e.g. an H3, or a table).
The text was updated successfully, but these errors were encountered: