|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-12-07 11:16 UTC] rquadling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 16:00:01 2025 UTC |
Description: ------------ Typo in Example #1 ob_tidyhandler()? Should </i> be </p> in the following ... <?php ob_start('ob_tidyhandler'); echo '<p>test</i>'; ?> Reproduce code: --------------- --- From manual page: function.ob-tidyhandler#Examples --- <?php ob_start('ob_tidyhandler'); echo '<p>test</i>'; ?> The above example will output: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> <p>test</p> </body> </html> Expected result: ---------------- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title></title> </head> <body> <p>test</i> </body> </html> Actual result: -------------- I've not bothered to test this.