|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #35742 inconsistency in tidy tag name
Submitted: 2005-12-20 10:10 UTC Modified: 2010-12-20 10:03 UTC
From: humbads at alum dot mit dot edu Assigned:
Status: Closed Package: Tidy (PECL)
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: humbads at alum dot mit dot edu
New email:
PHP Version: OS:


 [2005-12-20 10:10 UTC] humbads at alum dot mit dot edu
In the Tidy constants page,

it defines a constant called: TIDY_TAG_NOSAFE

However, in the CVS of tidy.c, the line says:


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

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:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-20 15:48 UTC]
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.
 [2010-12-20 10:03 UTC]
-Package: Documentation problem +Package: Tidy -Assigned To: +Assigned To: jani
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Oct 03 01:05:53 2022 UTC