-1
Keep with the spec. '--->' is not an HTML comment end.

This is what the HTML 4 recommendation says on comment syntax:

3.2.4 Comments

HTML comments have the following syntax:

<!-- this is a comment -->
<!-- and so is this one,
     which occupies more than one line -->

White space is not permitted between the markup declaration open 
delimiter("<!") and the comment open delimiter ("--"), but is permitted 
between the comment close delimiter ("--") and the markup declaration 
close delimiter (">"). A common error is to include a string of hyphens 
("---") within a comment. Authors should avoid putting two or more 
adjacent hyphens inside comments.

[http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4]

IMO showing '--->' as a comment end might trick us into believing it is.

/Fredrik

Tal Dayan wrote:

> If IDEA encounter '--->' (note the three minus signs instead of two) in a
> JSP page, it
> does not consider it as HTML comment end.
> 
> For example, in the following text, My Text is grayed as a comment.
> 
>   <!--- My Title --->
>   <b>My Text</b>
> 
> I think it should follow common browser convention and should consider it as
> comment end.
> 
> This is especially useful when viewing existing HTML files which I don't
> have the right to modify.
> 
> Thanks,
> 
> Tal
> 
> 
> 
> 
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
> 
> 



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to