Skip to content

fix: use link.label for html#970

Open
igorlfs wants to merge 1 commit intocatppuccin:mainfrom
igorlfs:link-label
Open

fix: use link.label for html#970
igorlfs wants to merge 1 commit intocatppuccin:mainfrom
igorlfs:link-label

Conversation

@igorlfs
Copy link
Contributor

@igorlfs igorlfs commented Feb 24, 2026

Hello,

Currently, HTML has a special treatment regarding link.label: it links to text. However, I think that's an oversight, since it doesn't affect other HTML-like languages. For instance, here, the top file is Svelte and the bottom one is raw HTML:

image

Well, I guess this could also be fixed by going the other way. Let me know if that's preferred.

@igorlfs
Copy link
Contributor Author

igorlfs commented Feb 24, 2026

Well, now that I think about it, the commit message sounds a lil strange. What I meant is that link.label is used for HTML (like with the other languages), and not something else.

@comfysage
Copy link
Collaborator

comfysage commented Feb 24, 2026

yeah so the goal here was that the content of html tags should always be text to avoid unnecessary colors everywhere.

this means that this behavior should probably also happen for languages like svelte; thnx for bringing that up <3

if you can modify the pr to replicate the html behavior in some other languages ill definitly merge it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants