You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ikatyang
changed the title
[SFC] The leading newline character immediately following <pre> is preserved
The leading newline character immediately following <pre> should be stripped
Apr 1, 2020
Version
3.0.0-alpha.10
Reproduction link
https://vue-next-template-explorer.netlify.com/#%7B%22src%22%3A%22%3Cpre%3E%5Cn123%3C%2Fpre%3E%5Cn%22%2C%22options%22%3A%7B%22mode%22%3A%22module%22%2C%22prefixIdentifiers%22%3Afalse%2C%22optimizeBindings%22%3Afalse%2C%22hoistStatic%22%3Afalse%2C%22cacheHandlers%22%3Afalse%2C%22scopeId%22%3Anull%7D%7D
Steps to reproduce
See the compiled output.
What is expected?
Per HTML spec, a leading newline character immediately following
<pre>
should be stripped.What is actually happening?
The leading newline character immediately following
<pre>
is preserved.The newline character is stripped in Vue 2.
The text was updated successfully, but these errors were encountered: