ID: 35742 Updated by: [EMAIL PROTECTED] Reported By: humbads at alum dot mit dot edu -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2005-12-20 10:10:30] humbads at alum dot mit dot edu Description: ------------ In the Tidy constants page, http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/tidy/constants.xml?view=markup it defines a constant called: TIDY_TAG_NOSAFE However, in the CVS of tidy.c, the line says: TIDY_TAG_CONST(NOSAVE); So when I try to use the TIDY_TAG_NOSAFE constant, I get an error saying it doesn't exist. Reproduce code: --------------- // enable tidy extension print TIDY_TAG_NOSAFE; Expected result: ---------------- The documentation needs to be corrected to say, TIDY_TAG_NOSAVE instead of TIDY_TAG_NOSAFE. NOSAVE is the correct tag name. See: http://www.htmlcodetutorial.com/images/_IMG_NOSAVE.html ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35742&edit=1