[PHP-DEV] Bug #12812 Updated: nl2br, get_html_translation_table and strtr

2001-08-19 Thread kapp

ID: 12812
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux (SuSE Based)
PHP Version: 4.0.6
New Comment:

was my fault, sorry!

Previous Comments:


[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=12812edit=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]




[PHP-DEV] Bug #12812 Updated: nl2br, get_html_translation_table and strtr

2001-08-19 Thread sniper

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

user error.

Previous Comments:


[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=12812edit=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]




[PHP-DEV] Bug #12812 Updated: nl2br, get_html_translation_table and strtr

2001-08-19 Thread jeroen

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=12812edit=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]




[PHP-DEV] Bug #12812 Updated: nl2br, get_html_translation_table and strtr

2001-08-17 Thread derick

ID: 12812
Updated by: derick
Reported By: [EMAIL PROTECTED]
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] [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=12812edit=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]