From: [EMAIL PROTECTED] Operating system: PHP version: Irrelevant PHP Bug Type: Livedocs problem Bug description: Livedocs strips HTML comments from source
Description: ------------ Livedocs strips comments from files, which is a problem if you want to add comments to HTML blocks in CDATA. This is the offending line: livedocs_funcs.php/213 /* strip comments */ $data = preg_replace('@<!--\s+.*\s-->@Usm', '', $data); I'm not sure why this needs to be done, but perhaps it can be removed or improved. -- Edit bug report at http://bugs.php.net/?id=30455&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30455&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30455&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30455&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30455&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30455&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30455&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30455&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30455&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30455&r=support Expected behavior: http://bugs.php.net/fix.php?id=30455&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30455&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30455&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30455&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30455&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30455&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30455&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30455&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30455&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30455&r=mysqlcfg