Skip to content

Conversation

@RobinMalfait
Copy link
Member

@RobinMalfait RobinMalfait commented Mar 17, 2025

This PR fixes an issue where <template lang="…">…</template> in Vue files should be handled as-if it's the language specified in the lang attribute.

To do this, we added a new Vue pre processor and run the content through the same pre processor logic as we do for other languages.

Fixes: #17211

Test plan

  1. Added a test to verify this works
  2. Existing tests still work

Visually verified against the reproduction in the issue:

Before After
image image

@RobinMalfait RobinMalfait requested a review from a team as a code owner March 17, 2025 13:43
Co-authored-by: Adam Wathan <[email protected]>
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.

CSS is not included for some Tailwind classes in Pug template (in Vue)

4 participants