php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36485 Cannot add note to documentation
Submitted: 2006-02-22 12:29 UTC Modified: 2006-03-07 15:04 UTC
From: flconseil at yahoo dot fr Assigned:
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: None
Private report: No CVE-ID: None
 [2006-02-22 12:29 UTC] flconseil at yahoo dot fr
Description:
------------
When adding a note, every line break appears in preview as '
'. I don't understand why because add_note.php contains 'str_replace("\r\n", "\n",...)', so the \r should not appear, at least.

I tried to look at manual_note_display() but I don't find the clean_note() function.

Maybe it is a problem with my browser but I tried with IE6 and firefox, and it is the same. When posting something with these browsers to my intranet, I can check that I have the right '\r\n' between lines.

Reproduce code:
---------------
Add manual note with a line break or '<>' chars to www.php.net in any doc section

Expected result:
----------------
New line (<br>)

Actual result:
--------------
&#13;&#10;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-07 15:04 UTC] flconseil at yahoo dot fr
Seems to be working now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 17:01:31 2024 UTC