Skip to content

Using < in custom delimiters yields wrong compiled template #4880

@jingz

Description

@jingz

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions