PRB: The </SCRIPT> Tag Is Treated As a Closing Tag When Inside a Quoted String (316174)
The information in this article applies to:
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
- Microsoft Active Server Pages
This article was previously published under Q316174 SYMPTOMS When you use a </SCRIPT> Hypertext Markup Language
(HTML) tag inside a quoted string, the tag is treated as a closing tag rather
than as a portion of the string. RESOLUTION To work around this behavior, do not directly use the
</SCRIPT> tag inside a script section. Instead, you can use alternatives
such as the following tag:
chr(60) & "/SCRIPT>
STATUSThis
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 2/11/2004 |
---|
Keywords: | kbprb kbWebForms KB316174 kbAudDeveloper |
---|
|