php - HTML Tidy removes comments with conditions -



php - HTML Tidy removes comments with conditions -

i making utilize of html tidy , i've had @ config options here.

i've made utilize of option:

$config = array( 'hide-comments' => 1 );

however, removes comments such this:

<!-- test -->

and this:

<!--[if ie 6]>special instructions ie 6 here<![endif]-->

should removing latter, know still comment serves purpose - maybe should utilize option?

i'm pretty sure there no alternative it.. after html comment. recommend find alternative, or maintain html comments.. can't heavy.

php html tidy

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -