ID: 12812
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: Linux (SuSE Based)
PHP Version: 4.0.6
New Comment:

"was my fault" referred to wrong type.

Anyway, html_translation_table is about entities (things like &something;), and not 
about html-tags. 

nl2br has nothing to with html_trans_table.

Previous Comments:
------------------------------------------------------------------------

[2001-08-19 14:40:46] [EMAIL PROTECTED]

user error.

------------------------------------------------------------------------

[2001-08-19 07:11:37] [EMAIL PROTECTED]

was my fault, sorry!

------------------------------------------------------------------------

[2001-08-17 10:11:58] [EMAIL PROTECTED]

Making this a feature request

------------------------------------------------------------------------

[2001-08-17 10:10:05] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to