#357 Don't strip conditional comments


When the option "hide-comments" is set, it should be interesting to have something to tell the printer NOT to hide conditional comments, which aren't really just "comments" but contains functional information.


  • Geoff

    Geoff - 2016-03-30

    Thanks for the feature request... now so long ago... sorry for the delay...

    Tidy source has moved on to https://github.com/htacg/tidy-html5, site to http://www.html-tidy.org/

    Unfortunately tidy does not parse the contents of comments, so presently has no way to remove some and preserve others...

    However, if you want to persue this, or find another tidy bug, or feature request, then please file an issue, together with sample html and config used, and if you find, fix, and test the feature in a tidy fork then you can issue a Pull Request. Always appreciated... thanks...

    Tidy needs your support...

    Meantime closing this here as out-of-date...

  • Geoff

    Geoff - 2016-03-30
    • status: open --> closed-out-of-date
    • Group: --> Current - all platforms

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks