W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 1999

Asp server side script translations

From: Darren Forcier <dforcier@allaire.com>
Date: Mon, 7 Jun 1999 18:06:44 -0400
Message-ID: <C3843BD1B83DD2119D79000092A7BAD4014CB681@PLATINUM.allaire.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
Hi,

I've noticed the following behavior on HTML Tidy with ASP server side
scripting. The following construct:

       <% If (Request.Cookies("NumVisits") > 0) then %> You last accessed
      this web page at <%= LastAccessTime %> on <%= LastAccessDate %> 
      <% End If  %>

gets translated to 

       <% If (Request.Cookies("NumVisits") &gt. 0) then %> You last accessed
<---- Breaks the script!
      this web page at <%= LastAccessTime %> on <%= LastAccessDate %> 
      <% End If  %>

when the & conversion settings are passed to Tidy.  Future enhancement
request: bypass
conversions inside of ASP <% %> delimiters. This would probably apply to
other server
side scripting languages as well such as Cold Fusion CFML, and others.

Regards,
Darren Forcier
Allaire Corporation.
Received on Monday, 7 June 1999 18:02:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:42 GMT