Re: [Miniwiki-general] quotes
Status: Beta
Brought to you by:
src
From: Stepan R. <st...@sr...> - 2006-03-12 23:12:16
|
Hi. On Sun, 12 Mar 2006, sebastien monterisi wrote: > I'm sorry if the question was already post but i can't access the archives > now. > > my hoster has magic_quote_gpc turned on, so i can't use italic and bold > text. > > form : > ''italic'' '''gras''' > render : > \'\'italic\'\' \'\'\'gras\'\'\' > > Is it possible to solve that prob ? or should i modify the source ? In snapshots this should be solved, in 0.2 you can try to edit miniwiki.php and change MW_Request constructor to contain: if (get_magic_quotes_gpc()) { $_REQUEST = array_map("stripslashes", $_REQUEST); } I don't know whether $_REQUEST is mutable. If not, copy it to some variable and use it in the rest of MW_Request(). Have a nice day. Stepan Roh |