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

Vue template removes whitespace immediately after <input>inside of a pre #8950

Closed
kissge opened this issue Oct 15, 2018 · 1 comment · Fixed by #8965
Closed

Vue template removes whitespace immediately after <input>inside of a pre #8950

kissge opened this issue Oct 15, 2018 · 1 comment · Fixed by #8965
Labels

Comments

@kissge
Copy link

kissge commented Oct 15, 2018

Version

2.5.17-beta.0

Reproduction link

https://gist.github.com/kissge/b02de2b2aacb33c9645da2c5a89cb1ac

Steps to reproduce

  1. Run a unit test

What is expected?

newline after <input> is preserved

What is actually happening?

newline after <input> is removed

@posva posva changed the title Vue template compiler wrongly handles whitespace immediately after <input> Vue template removes whitespace immediately after <input>inside of a pre Oct 15, 2018
@posva
Copy link
Member

posva commented Oct 15, 2018

Seems to happen with self-closing tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants