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?
to your account
The <pre> tag whitespace handling reported in #6437 was largely fixed. There's one detail though that's incorrect: Svelte seems to be adding an extra whitespace when there's a new line at the beginning when this does not happen using plain HTML unless there's an explicit white space after the <pre> tag.
Originally posted by @pablo-abc in #6437 (comment)
The text was updated successfully, but these errors were encountered:
[fix]: strip leading newline characters after 'pre' elements
[fix] strip leading newline after <pre> and <textarea> (#7280)
Successfully merging a pull request may close this issue.