8000 v-pre not ignoring {{ inside textarea · Issue #11913 · vuejs/core · GitHub
[go: up one dir, main page]

Skip to content
v-pre not ignoring {{ inside textarea #11913
@hayjacob

Description

@hayjacob

Vue version

3.5.4

Link to minimal reproduction

https://jsfiddle.net/h4ds29me/

Steps to reproduce

When you include vue via CDN (https://unpkg.com/vue@3/dist/vue.global.prod.js) and wrap a textarea in v-pre, the {{ aren't ignored and it escapes everything after that (assuming there is no closing }}).
See this jsfiddle for an example:
https://jsfiddle.net/h4ds29me/
{{ is ignored outside the textarea fine.

What is expected?

The {{ is ignored inside the v-pre textarea

What is actually happening?

The {{ is not ignored inside the v-pre textarea

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0