Skip to content

Add support for Javascript expressions in v-html attributes #48

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

Merged

Conversation

codders
Copy link
Contributor

@codders codders commented Jul 15, 2025

v-html attributes currently only support direct references to top-level variables in the template data.

Use the Peast Javascript expression parsing support to make it possible to evaluate expressions in v-html attributes.

Bug: T396098

@codders codders requested a review from lucaswerkmeister July 15, 2025 08:31
`v-html` attributes currently only support direct references to
top-level variables in the template data.

Use the Peast Javascript expression parsing support to make it
possible to evaluate expressions in `v-html` attributes.

Bug: T396098
@codders codders force-pushed the feat/support-expressions-in-v-html-20250715 branch from 1f8a34f to 27133b3 Compare July 15, 2025 09:00
@lucaswerkmeister lucaswerkmeister merged commit edb6eca into master Jul 15, 2025
8 checks passed
@lucaswerkmeister lucaswerkmeister deleted the feat/support-expressions-in-v-html-20250715 branch July 15, 2025 09:03
@codders codders restored the feat/support-expressions-in-v-html-20250715 branch July 17, 2025 10:49
@codders codders deleted the feat/support-expressions-in-v-html-20250715 branch July 17, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants