Bug #12812: nl2br, get_html_translation_table and strtr
| From: | kapp at bigping dot de | Date: | Fri, 17 Aug 2001 14:10:05 +0000 |
| Subject: | Bug #12812: nl2br, get_html_translation_table and strtr | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63525@lists.php.net to get a copy of this message | ||
From: kapp@bigping.de
Operating system: Linux (SuSE Based)
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: nl2br, get_html_translation_table and strtr
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 bug report at: http://bugs.php.net/?id=12812&edit=1