Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to edit HTML templates
How to edit HTML templates [message #551391] Fri, 06 August 2010 08:38 Go to next message
David Goodenough is currently offline David GoodenoughFriend
Messages: 157
Registered: July 2009
Senior Member
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?

David
Re: How to edit HTML templates [message #552093 is a reply to message #551391] Tue, 10 August 2010 19:26 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

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


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: How to edit HTML templates [message #552115 is a reply to message #552093] Tue, 10 August 2010 21:59 Go to previous message
David Goodenough is currently offline David GoodenoughFriend
Messages: 157
Registered: July 2009
Senior Member
Nitin Dahyabhai wrote:

> 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.

David
Previous Topic:Help me for add Maven Dependency on Eclipse Helio
Next Topic:Problem with .jspf and validation
Goto Forum:
  


Current Time: Fri Mar 29 14:40:48 GMT 2024

Powered by FUDForum. Page generated in 0.02488 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top