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

v-pre not ignoring {{ inside textarea #11913

Closed
hayjacob opened this issue Sep 12, 2024 · 0 comments · Fixed by #11915
Closed

v-pre not ignoring {{ inside textarea #11913

hayjacob opened this issue Sep 12, 2024 · 0 comments · Fixed by #11915

Comments

@hayjacob
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants