On 8/6/2010 4:38 AM, David Goodenough wrote:
> I have some HTML files which are templates, and thus contain markers for
> substitutions. In particular this template system uses<% ... %> markers.
>
> How do I tell the HTML validator that this is OK?
The short answer is that you can not; those markers are simply not part
of the allowed syntax. They are allowed throughout the file for JSPs,
however.
--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
> On 8/6/2010 4:38 AM, David Goodenough wrote:
>> I have some HTML files which are templates, and thus contain markers for
>> substitutions. In particular this template system uses<% ... %>
>> markers.
>>
>> How do I tell the HTML validator that this is OK?
>
> The short answer is that you can not; those markers are simply not part
> of the allowed syntax. They are allowed throughout the file for JSPs,
> however.
>
That's a shame, the system relies on them being .html. I will submit a
wishlist request. At least I should be able to specify things to ignore.