Exclude script tags with type x from js lint

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
mortenma71
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Sat May 23, 2015 1:52 am

Exclude script tags with type x from js lint

Post by mortenma71 » Sat May 23, 2015 1:56 am

I'm using kendoui's templating system which looks like this:

Code: Select all

<SCRIPT id="notification-tmpl" type="text/x-kendo-template">
	#:message#
</SCRIPT>
Can I exclude script tags with type="text/x-kendo-template" from the lint validating?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3412
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Exclude script tags with type x from js lint

Post by Albert Wiersch » Sat May 23, 2015 9:07 pm

Hello,

The easiest way to block that message is to right-click on it in the editor and choose Message Options->Disable using Exact Text Match.

I'll look into recognizing that type for a future update. Thanks for bringing this to my attention!

UPDATE: Future updates will recognize "text/x-kendo-template" and not generate that warning.
Image
Albert Wiersch

Post Reply