The langdoc.php editor seem to have deleted backslash.
An example is with the help file " directorypaths.html" .
The line: "c:\program files\data\moodle", became
"c:program filesdatamoodle" when i saved the file.
I am using the langdoc.php version 1.6 from cvs.
Yes it's a bug. Please report in the bugtracker - I'll do a quick fix in all languages and add a line to my language checklist
Anyone aware of other files where this bug can cause trouble?
Anyone aware of other files where this bug can cause trouble?
IMHO this bug has the same reason as already reported bug 3163. There is a line in langdoc.php doing this stuff:
$content = str_replace("\\","",$content); // Delete all slashes
This line has origin in lang.php. I'll look at it and maybe will remove all these filters - thus translators are responsible for submitted data...
Yes, that bug comes close.
Deleting the line has as side-effect that al \ become \\
Deleting the line has as side-effect that al \ become \\
I've just commited new version of langdoc.php into both HEAD and MOODLE_15_STABLE branches. It includes fix by Jaime Villate - Sunday, 8 May 2005, 10:45 PM and works for me with all these problematic strings:
<>
< >
c:\apache
<? phpinfo(); ?>
<>
< >
c:\apache
<? phpinfo(); ?>