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
collapseWhitespace
Is there a way to disable the collapseWhitespace function similar to how it can be done for code blocks?
My original issue:
this HTML:
<p>Hello</p> <p><br></p> <p><br></p> <p><br></p> <p>World.</p>
gets converted to this MD:
Hello World.
It seems no matter how many break tags I have, they get consolidated into just one \n.
\n
Originally posted by @EdrikC in #487 (comment)
The text was updated successfully, but these errors were encountered:
Unfortunately not, Turndown currently relies on collapsing non-semantical whitespace, so it would break the output for some inputs.
Can't reproduce this:
The reason in the former issues is that the hardbreak option was configured to as empty string, which is invalid.
Sorry, something went wrong.
This is probably a duplicate of #361.
No branches or pull requests
Is there a way to disable the
collapseWhitespace
function similar to how it can be done for code blocks?My original issue:
this HTML:
gets converted to this MD:
It seems no matter how many break tags I have, they get consolidated into just one
\n
.Originally posted by @EdrikC in #487 (comment)
The text was updated successfully, but these errors were encountered: