locked
HTML Agility Pack \r\n issue RRS feed

  • Question

  • HI, I am using HTML Agility pack to comment out the java script. Agility pack worked great and commenting java script with "<![CDATA[\r\n" but want to get rid off \r\n after <![CDATA. Is there solution for this?

    eg: <script language="javascript">alert('text goes here');</script>

    Output: "<script language=\"javascript\">\r\n//<![CDATA[\r\n

    alert('text goes here');

    \r\n//]]>//\r\n</script>"

    Thank in advance.

    Monday, July 16, 2012 10:11 PM

Answers

All replies