Strip_slashes problem

Strip_slashes problem

by Ludo (Marc Alier) -
Number of replies: 1
Hi there,
we are trying to implement the wiki creole syntax in nwiki. In this format the "\\" wiki tag means "orce new line" but strip_slashes eats one of them and the parser turns crazy. Is there a parameter for strip_slashes() or something to spare the life of this slashes ?
Thanks
Ludo
Average of ratings: -
In reply to Ludo (Marc Alier)

Re: Strip_slashes problem

by Gustav W Delius -
Hi Ludo, if your \\ get eaten that means that stripslashes() is called somewhere where it shouldn't and it would be good if you could find where that happens and fix it because there are other types of content where you wouldn't want \\ to be eaten either. There is an explanation of where stripslashes() should and should not be called in Moodle Docs.