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
2.6.11
https://codepen.io/kubotafumiya/pen/qBOwEOV
<div id="app"> <textarea> Three line breaks are ignored. </textarea> </div>
new Vue({ el: '#app', });
The line breaks are removed.
Line breaks are not deleted.
https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions
I think it's okay for a single line break to be ignored according to this specification.
The text was updated successfully, but these errors were encountered:
I found the reason. Can i take this issue.
@wonhyoung05 Yes, I couldn't find an existing issue or PR for this problem
fix(compiler/parser/html-parser.js): Line breaks in textareas are not…
cd06afd
… removed.(fix: vuejs#11446)
Version
2.6.11
Reproduction link
https://codepen.io/kubotafumiya/pen/qBOwEOV
Steps to reproduce
What is expected?
The line breaks are removed.
What is actually happening?
Line breaks are not deleted.
https://html.spec.whatwg.org/multipage/syntax.html#element-restrictions
I think it's okay for a single line break to be ignored according to this specification.
The text was updated successfully, but these errors were encountered: