Skip to content
New issue

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

Fix regression of not preserved <pre> whitespaces #49

Merged
merged 4 commits into from
Aug 15, 2019

Conversation

yhatt
Copy link
Owner

@yhatt yhatt commented Aug 15, 2019

Resolves #48.

The content of <pre> tag will be parsed with turndown parser (by #46), but it will collapse whitespaces when passed a string or element except <pre>. So we created <pre> node for passing to turndown.

@yhatt yhatt merged commit 09710e1 into master Aug 15, 2019
@yhatt yhatt deleted the fix-pre-tag-regression branch August 15, 2019 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression of <pre> tag in v0.9.0 about not preserved whitespaces
1 participant