Bug #12812 Updated: nl2br, get_html_translation_table and strtr
| From: | derick@php.net | Date: | Fri, 17 Aug 2001 14:11:58 +0000 |
| Subject: | Bug #12812 Updated: nl2br, get_html_translation_table and strtr | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63527@lists.php.net to get a copy of this message | ||
ID: 12812
Updated by: derick
Reported By: kapp@bigping.de
Status: Open
Old Bug Type: Unknown/Other Function
Bug Type: Feature/Change Request
Operating System: Linux (SuSE Based)
PHP Version: 4.0.6
New Comment:
Making this a feature request
Previous Comments:
------------------------------------------------------------------------
[2001-08-17 10:10:05] kapp@bigping.de
since php 4.0.5 with
nl2br I get an XHTML1.0 compatible <br /> tag back.
So far so good, but if I have to translate it back with strtr (and get_html_translation_table) it
won't be recognized.
No problem, I know the workaround (adding a '"<br />" =>
"\n"' to the translation array) but it would be nice to be fixed.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12812&edit=1