#85 [Patch] GetCDATA with text and CDATA mixed


Fixes cases where there is a script or style tag with text and CDATA intermixed. These tags are usually parsed with the GetCDATA function in the lexer. This patch coalesces CDATA and text nodes into a single CDATA node. IT fixes bug number 2914759



  • Comment has been marked as spam. 

    You can see all pending comments posted by this user  here

    Anonymous - 2009-12-18
  • Geoff

    Geoff - 2015-12-08

    85 [Patch] GetCDATA with text and CDATA mixed - https://sourceforge.net/p/tidy/patches/85/
    922 Contents of script tags with not enclosed in CDATA - https://sourceforge.net/p/tidy/bugs/922/

    Thanks for the patch... now long ago... sorry for the delay...

    Tidy source has moved to https://github.com/htacg/tidy-html5

    Patches can only be accepted against the current source, so closing this as out-of-date!

    However, I have checked your patch, and it may still be possible to apply it to the current source... seems that part of the lexer.c has not been changed...

    On checking bug #922, namely dirty2.html, saved as input5\in_sf922.html, the latest tidy 5.1.32 still has this old problem, so it seems a new issue should be filed at Issues, the patch applied to a github fork, then it could be presented as a Pull Request.... thanks, this looks good...

  • Geoff

    Geoff - 2015-12-08
    • status: open --> closed-out-of-date
    • Group: --> Current - all platforms

Log in to post a comment.