#85 [Patch] GetCDATA with text and CDATA mixed

closed-out-of-date
nobody
None
5
2015-12-08
2009-12-18
Anonymous
No

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

http://sourceforge.net/tracker/?func=detail&aid=2914759&group_id=27659&atid=390963

Discussion

  • Comment has been marked as spam. 
    Undo

    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.