Skip to content
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

Warn on unknown link attributes #793

Closed
kazimuth opened this issue May 15, 2024 · 1 comment
Closed

Warn on unknown link attributes #793

kazimuth opened this issue May 15, 2024 · 1 comment
Labels
disposition:close The tagged item can probably be closed

Comments

@kazimuth
Copy link

Example index.html:

<!DOCTYPE html>
<html>

<head>
    <link data-trunk rel="rust" bananas horse="dead">
</head>

<body></body>

</html>

This produces no warnings with trunk serve / trunk build. This means that misspelled attributes also won't raise warnings.

@ctron
Copy link
Collaborator

ctron commented May 15, 2024

I would say that trunk is not an HTML validator. So, why should it warn?

@ctron ctron added the disposition:close The tagged item can probably be closed label May 22, 2024
@ctron ctron closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
disposition:close The tagged item can probably be closed
Projects
None yet
Development

No branches or pull requests

2 participants