For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > January 2006 > #35742 [Opn->Csd]: inconsistency in tidy tag name









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #35742 [Opn->Csd]: inconsistency in tidy tag name
nlopess@php.net

2006-01-09, 8:02 pm

ID: 35742
Updated by: nlopess@php.net
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/phpd...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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com