Loading ...
Sorry, an error occurred while loading the content.

167CDATA on Inline Scripts

Expand Messages
  • Paul
    Aug 15, 2008
    • 0 Attachment
      Hey all,

      I currently have code that looks like the following:

      <script type="text/javascript">

      Since I'm doing this in xhtml, my IDE likes that tag being there,
      otherwise it blows up on typical xml characters like [<]. However,
      JSLint is returning a statement such as the following:


      Problem at line 33 character 7: Dangerous comment.


      Problem at line 46 character 7: Dangerous comment.


      Is there a better way to do this that I should be doing? Otherwise is
      there an option to allow this type of notation?

      Thanks for your time.
    • Show all 4 messages in this topic