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

Using < in custom delimiters yields wrong compiled template #4880

Closed
jingz opened this issue Feb 8, 2017 · 2 comments
Closed

Using < in custom delimiters yields wrong compiled template #4880

jingz opened this issue Feb 8, 2017 · 2 comments
Labels

Comments

@jingz
Copy link

jingz commented Feb 8, 2017

Vue.js version

2.1.10

Reproduction Link

https://jsfiddle.net/mwmaaju6/

Steps to reproduce

It seem that Vue parse the template strings improperly.
if you add a space before open delimiter. The rendering is correct.

try inside <p> tag
<p> <% text %> </p>

What is Expected?

correctly rendering

What is actually happening?

improperly rendering, I seem to strip the next tags, in this case <textarea>

@posva
Copy link
Member

posva commented Feb 8, 2017

Thanks, looks like a bug due to the delimiter starting with <

@posva posva changed the title Improperly rendering when changing delimeters and render with template strings Using < in custom delimiters yields wrong compiled template Feb 8, 2017
@defcc
Copy link
Member

defcc commented Feb 9, 2017

Thanks, this issue has been fixed via #4753. Not released yet.

@defcc defcc closed this as completed Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants