Home » Logging » Log » Bug #2606
Please add nl2br() to Log_Display->log()
Details
| Request #2606 | Please add nl2br() to Log_Display->log() |
|---|---|
| Submitted | 2004-10-24 21:41 UTC |
| From | roehr at zilleon dot com |
| Assigned | jon |
| Status | Closed |
| Package | Log |
| PHP Version | Irrelevant |
| OS | irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-10-24 21:41 UTC] roehr at zilleon dot com
Description:
------------
Hi,
please add nl2br() to the log() method of the display handler so that line breaks will be represented as <br>s on screen.
Maybe the messages could also be printed out as an unordered list - on demand as an option in the config array?
Thank you very much for the great package!
Regards, Torsten Roehr
Reproduce code:
---------------
Log/display.php line 98 from:
htmlspecialchars($message) .
to:
nl2br(htmlspecialchars($message)) .