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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: flconseil at yahoo dot fr
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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