diff --git a/readme.md b/readme.md index 52a2797bdc..c7e2a08eb8 100644 --- a/readme.md +++ b/readme.md @@ -74,7 +74,7 @@ Latest development builds (artifacts in Release configuration for each compiler * [Groovy](tools/lang/Groovy.groovy), up to Groovy 5.0. * [Haskell](tools/lang/Haskell.hs), up to GHC 9.6. * [Haxe](tools/lang/Haxe.hx), up to Haxe 4.3. - * [HTML](tools/lang/html.html), up to [WHATWG](https://html.spec.whatwg.org/multipage/) December 2024. [Screenshots](https://github.com/zufuliu/notepad4/wiki/Screenshots#html) + * [HTML](tools/lang/html.html), up to [WHATWG](https://html.spec.whatwg.org/multipage/) January 2025. [Screenshots](https://github.com/zufuliu/notepad4/wiki/Screenshots#html) * ASP * ASP.NET * JSP diff --git a/src/EditLexers/stlHTML.cpp b/src/EditLexers/stlHTML.cpp index c6b8c549a8..9600a5dd3e 100644 --- a/src/EditLexers/stlHTML.cpp +++ b/src/EditLexers/stlHTML.cpp @@ -40,7 +40,7 @@ static KEYWORDLIST Keywords_HTML = {{ "abbr accept accept-charset accesskey action align alink allow allowfullscreen allowtransparency alpha alt archive " "as async autocapitalize autocomplete autocorrect autofocus autoplay axis " "background behavior bgcolor blocking border bordercolor bottommargin " -"cellpadding cellspacing challenge char charoff charset checked cite class classid clear " +"cellpadding cellspacing challenge char charoff charset checked cite class classid clear closedby " "code codebase codetype color colorspace cols colspan compact content contenteditable contextmenu controls coords " "crossorigin " "data datafld dataformatas datapagesize datasrc datatype datetime declare decoding default defer " @@ -81,23 +81,25 @@ static KEYWORDLIST Keywords_HTML = {{ "about allow-downloads allow-forms allow-modals allow-orientation-lock " "allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-same-origin allow-scripts " "allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols alternate always " -"anonymous application-name application/octet-stream application/x-www-form-urlencoded application/xml author auto " +"anonymous any application-name application/octet-stream application/x-www-form-urlencoded application/xml author auto " "blob bookmark " -"canonical captions chapters characters checkbox circ circle closed " +"canonical captions chapters characters checkbox circ circle closed closerequest " "color-scheme content-language content-security-policy content-type " -"date datetime-local decimal default-style description descriptions display-p3 dns-prefetch done " -"eager email en enter expect external false fetch file generator get go hard help hide http https icon image keywords " -"lazy license limited-srgb lower-alpha lower-roman ltr " -"mailto manual metadata module modulepreload month multipart/form-data " -"never next no no-referrer no-referrer-when-downgrade nofollow none noopener noreferrer number numeric " -"off on opener origin origin-when-cross-origin origin-when-crossorigin " +"dark date datetime-local decimal default-style description descriptions device-height device-width display-p3 " +"dns-prefetch done " +"eager email en enter expect external false fetch file generator get go hard help hide hint http https " +"icon image initial-scale interactive-widget keywords lazy license light limited-srgb lower-alpha lower-roman ltr " +"mailto manual maximum-scale metadata minimum-scale module modulepreload month multipart/form-data " +"never next no no-referrer no-referrer-when-downgrade nofollow none noopener noreferrer normal number numeric " +"off on only opener origin origin-when-cross-origin origin-when-crossorigin overlays-content " "password pingback plaintext-only poly polygon post preconnect prefetch prerender prev previous privacy-policy " -"radio range rect rectangle referrer refresh render reset row rowgroup rtl " +"radio range rect rectangle referrer refresh render reset resizes-content resizes-visual row rowgroup rtl " "same-origin self send sentences set-cookie show sms soft strict-origin strict-origin-when-cross-origin stylesheet " "submit subtitles sync " "tag tel terms-of-service text/css text/ecmascript text/javascript text/jscript text/livescript text/plain text/xml " "theme-color toggle true " -"unsafe-url until-found upper-alpha upper-roman url use-credentials utf-8 week words x-ua-compatible yes " +"unsafe-url until-found upper-alpha upper-roman url use-credentials user-scalable utf-8 viewport week words " +"x-ua-compatible yes " , nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr //--Autogenerated -- end of section automatically generated diff --git a/tools/lang/html.html b/tools/lang/html.html index aebb241684..5b92a9fd0e 100644 --- a/tools/lang/html.html +++ b/tools/lang/html.html @@ -1,5 +1,5 @@ - + + content charset="utf-8" media> + + + + + + + + + @@ -252,7 +264,7 @@
- +