On Thursday 05 April 2007 16:03, Petko Yotov wrote: > On Thursday 05 April 2007 16:36, SteP wrote: > > In my limited testing I found one issue, and added a noted to the recipe > > page: if you're entering markup in the text area, line breaks like \\ > > should be entered as \\\\ because something -I suspect the input control- > > will turn each \\ into a \ > > > > This is a problem because a user would need to repeatedly fix all line > > breaks each time before posting the form. > > Not in my installations: both when I have the contents inside the page, and > when I pre-fill it with $InputValues taken from a PTV, "\\" stays "\\", new > line stays new line. I suspect that you have some code that uses > stripslashes() while it should use stripmagic().
Sorry, indeed when you post a content back to a PTV, every second slash is stripped. I am not (yet) using Fox but my script which also uses stripmagic() has the same bug. I'll try to find out why: probably somehow this stripmagic() is done twice. Petko _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users