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

Parse template throw error "missing end tag" with newline #1476

Closed
a631807682 opened this issue Jul 1, 2020 · 0 comments · Fixed by #1515
Closed

Parse template throw error "missing end tag" with newline #1476

a631807682 opened this issue Jul 1, 2020 · 0 comments · Fixed by #1515
Labels
🐞 bug Something isn't working scope: compiler

Comments

@a631807682
Copy link
Contributor

Version

3.0.0-beta.17

Reproduction link

https://vue-next-template-explorer.netlify.app/#%7B%22src%22%3A%22%20%20%20%20%3Cspan%5Cr%5Cn%20%20%20%20%20%20v-if%3D%5C%22isWordLimitVisible%20%26%26%20type%20%3D%3D%3D%20'textarea'%5C%22%5Cr%5Cn%20%20%20%20%20%20class%3D%5C%22el-input__count%5C%22%5Cr%5Cn%20%20%20%20%20%20%3E%7B%7B%20textLength%20%7D%7D%2F%7B%7B%20upperLimit%20%7D%7D%3C%2Fspan%5Cr%5Cn%20%20%20%20%3E%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

Open the link and check the prompt.

    <span
      v-if="isWordLimitVisible && type === 'textarea'"
      class="el-input__count"
      >{{ textLength }}/{{ upperLimit }}</span
    >

What is expected?

Parse success

What is actually happening?

Throw parse error:

Vue template compilation error: Element is missing end tag.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working scope: compiler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants