Skip to content

Conversation

woongsikchoi
Copy link
Contributor

This PR resets vExpressionScriptState when ending mustache expression.

It fixes the problem that the following valid code results in unexpected-character-in-attribute-name and unexpected-solidus-in-tag errors:

<template>
  {{ 123 }}
  <textarea> }} <div </textarea>
</template>

@ota-meshi
Copy link
Member

I'm not sure what this PR solves.
Could you please open an issue and explain the problem in more detail? Also, please share a repo where we can reproduce the problem.

@ws807
Copy link
Contributor

ws807 commented Apr 3, 2025

I have opened issue #260.
In the issue, I added a repo reproducing the issue and explained the problem in detail.

@ota-meshi ota-meshi linked an issue Apr 4, 2025 that may be closed by this pull request
4 tasks
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation and this PR. I will merge this PR.

@ota-meshi ota-meshi merged commit 32056bc into vuejs:master Apr 4, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<textarea> content after }} causes invalid vue/no-parsing-error
3 participants