Menu

#6 inline ASP comment

open
nobody
None
5
2003-05-20
2003-05-20
No

In the unlikely event you find code like this:

<p><%'=strVariable%></p>
<img src=logo.gif>

in a VBScript ASP page, the comment doesn't know to
stop at the "%>" and messes with the syntax
highlighting of the IMG tag. In fact, the syntax
highlighting is messed up until the next "%>" is found
because the intended tag was thought to be a comment.

Bad ASP coding, I know, but that's not the point.

Discussion


Log in to post a comment.