XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting
https://xhmikosr.github.io/notepad2-mod/
Other
1.45k stars 270 forks source link

main tag in web source code #169

Closed syshut closed 8 years ago

syshut commented 8 years ago

html5

tag is displayed as highlighted, which means this is an unknown tag name. could this be fixed?

XhmikosR commented 8 years ago

No idea what you're talking about.

klonos commented 8 years ago

notepad2-mod-issue169

XhmikosR commented 8 years ago

You can submit a PR.

The HTML keywords are pretty old.

XhmikosR commented 8 years ago

OK this was easy, it was a bug. Fixed in https://github.com/XhmikosR/notepad2-mod/commit/b85dab70ddded3e3b0691c6da9371c03eeff15b6

syshut commented 8 years ago

thanks for your job, there are also 2 tag attributes named "itemscope" and "itemtype" not in the list

syshut commented 8 years ago

srcset

syshut commented 8 years ago

thanks for the work! please also add the srcset attribute for the img tag

XhmikosR commented 8 years ago

@syshut: please make a new issue with the full list of keywords missing.

syshut commented 8 years ago

@XhmikosR: sorry but i really can not help with that.

i found this bug because i'm a wordpress user and sometimes i use this notepad tool to read the php code, so i could only find some certain mis-highlighted attributes.

but i'm not a developer, and i do not have the whole html tag attributes (or say, the keywords) list.

i really want to help, and i tried to search but i found no good result, and on this webpage: https://www.sitepoint.com/how-to-build-responsive-images-with-srcset/ i read that there were some other keywords: sizes, media, picture, etc.

thanks again for your job, i think your last update to the list is almost the whole list.