Inspection for HTML when id starts with # or class starts with .

已回答

After searching for 2 hours what my problem is (shame on me, I know) I'd like to suggest another inspection for HTML

If there is something like:

<div id="#foo"></div>

there should be a hint for a malformed id. I'm not sure if this id is valid, but I think nobody wants to use such an id. The same goes with the class attribute and the dot.

 

0

Hi there,

You can file Feature Request tickets at Issue Tracker

1
Avatar
Permanently deleted user

Okay, thanks. I've just done that here.

0

请先登录再写评论。