Skip to content

Allow lang without quotes and lang="typescript" - #47

Merged
leafOfTree merged 1 commit into
masterfrom
lang-attr
Oct 21, 2026
Merged

leafOfTree merged 1 commit into
masterfrom
lang-attr

Conversation

@leafOfTree

Copy link
Copy Markdown
Owner

<script lang=ts> and <style lang=sass> without quotes weren't recognized, so they used the first syntax in the config. For sass, it also flattened the nesting when indenting. lang="typescript" wasn't recognized either.

Languages not in the config still use the first syntax as before.

Test: lang-attr.

<script lang=ts> and <style lang=sass> without quotes weren't
recognized, so they used the first syntax in the config. For sass, it
also flattened the nesting when indenting. lang="typescript" wasn't
recognized either.

Languages not in the config still use the first syntax as before.
@leafOfTree
leafOfTree merged commit 824aff6 into master Oct 21, 2026
5 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.

1 participant