#50193 [Opn]: Backslashes from newline tokens in example scripts are stripped

From: Date: Tue, 15 Dec 2009 10:33:26 +0000
Subject: #50193 [Opn]: Backslashes from newline tokens in example scripts are stripped
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3476@lists.php.net to get a copy of this message
ID: 50193 Updated by: yannick@php.net Reported By: sixd@php.net Status: Open Bug Type: Online Doc Editor problem Operating System: n/a PHP Version: Irrelevant New Comment: I just arrived to reproduce this problem, but only on the Online Demo (my dev. version don't produce it). Just logging into the Online version, select the french documentation and view the diff of the file : fr/language/operators.xml in the "Pending Commit" grid. Philip, can you tell me witch Php version is running under the server witch run the Online demo ? And can you tell me the configuration of the magic quotes ? Previous Comments: ------------------------------------------------------------------------ [2009-11-30 16:59:46] yannick@php.net Philip, I will try to studies this bug directly into the online version in the first time ------------------------------------------------------------------------ [2009-11-30 15:34:36] philip@php.net It updates via cron three times daily, so, is up to date. At some point we can wipe it clean and go through the install process from scratch, if you feel this might help. It should be okay since it's only really been used for testing thus far. ------------------------------------------------------------------------ [2009-11-30 11:28:42] yannick@php.net I just try with oci_fetch_all witch contains some "\n" in example & in diff panel. I have modify this file and the result (.new file) contains always "\n". No problem with the diff too... Philip, could you try to update the online version with the SVN one to see if this bug haven't been solve with it ? ------------------------------------------------------------------------ [2009-11-30 07:35:00] philip@php.net Any file with \n in the examples, which might be: echo "FOO\n"; I think this bug report was via the oci_execute() docs. It created a file named oci-execute.xml.new with stripped "\n" as "n" so that the above turns to: echo "FOOn"; The diff within the editor itself also shows the stripped versions. ------------------------------------------------------------------------ [2009-11-30 00:19:14] yannick@php.net Hi, Could you please give me witch file your example is from ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/50193 -- Edit this bug report at http://bugs.php.net/?id=50193&edit=1

« previous php.doc.bugs (#3476) next »