#49926 [Opn->Csd]: exemple output is incorrect
| From: | rquadling@php.net | Date: | Thu, 22 Oct 2009 14:07:18 +0000 |
| Subject: | #49926 [Opn->Csd]: exemple output is incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-2989@lists.php.net to get a copy of this message | ||
ID: 49926
Updated by: rquadling@php.net
Reported By: pyromanfr at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: linux
PHP Version: 5.3.0
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:
------------------------------------------------------------------------
[2009-10-22 14:06:56] svn@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=289849
Log: Fix example : Bug#49926
------------------------------------------------------------------------
[2009-10-19 19:55:23] pyromanfr at gmail dot com
Description:
------------
the !i is used in the root tag so [i] cannot be a child of the root tag
and will not be replaced.
so the exemple should output [i]Italic Text[/i] and not <i>Italic
Text</i>
Reproduce code:
---------------
---
From manual page: function.bbcode-create
---
exec the exemple
Expected result:
----------------
<b>Bold Text</b>
[i]Italic Text[/i]
<a href="http://www.php.net/">http://www.php.net/</a>
<a href="http://pecl.php.net/"><b>Content
Text</b></a>
<img src="http://static.php.net/www.php.net/images/php.gif"
/>
<a href="http://www.php.net/">
[img]http://static.php.net/www.php.net/images/php.gif[/img]
</a>
Actual result:
--------------
<b>Bold Text</b>
<i>Italic Text</i> <---
<a href="http://www.php.net/">http://www.php.net/</a>
<a href="http://pecl.php.net/"><b>Content
Text</b></a>
<img src="http://static.php.net/www.php.net/images/php.gif"
/>
<a href="http://www.php.net/">
[img]http://static.php.net/www.php.net/images/php.gif[/img]
</a>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49926&edit=1