Lines Matching refs:str_replace

228      $text = str_replace('&notags',  '&notags',$text);
233 $matches[0] = str_replace("~", "~ ", $matches[0]);
265 $matches[0] = str_replace('%%', 'DBLPERCENT',$matches[0]);
266 $matches[0] = str_replace('\\ ', 'DBLBACKSPLASH',$matches[0]);
267 $matches[0] = str_replace('|', 'NWPIPECHARACTER',$matches[0]);
281 $text = str_replace('DBLPERCENT','%%',$text);
294 $matches[1] = str_replace($needles, $replacements, $matches[1]);
306 $matches[2] = str_replace($needles, $replacements, $matches[2]);
321 $matches[4] = str_replace($gmatch[1],"",$matches[4],$c);
324 $matches[4] = str_replace("CHEVRONescC", ">>",$matches[4]);
325 $matches[4] = str_replace("CHEVRONescO", "<<",$matches[4]);
340 $matches[4] = str_replace("\"", "__GESHI_QUOT__", $matches[4]);
350 $matches[0] = str_replace("_ckgedit_NPBBR_","",$matches[0]);
368 …$text = str_replace(array('<nowiki>','</nowiki>'),array('NWIKISTART<nowiki>','NWIKICLOSE</nowiki>'…
369 $text = str_replace('%%&lt;', '&#37;&#37;&#60;', $text);
380 … $matches[1] = str_replace($needles, $replacements, $matches[1]);
386 $text = str_replace('>>','CHEVRONescC',$text);
387 $text = str_replace('<<','CHEVRONescO',$text);
404 return "divalNLine" . str_replace('#','CGEHASH',$matches[1]);
424 $this->xhtml = str_replace("CGEHASH", "#", $this->xhtml);
426 $this->xhtml = str_replace("__GESHI_QUOT__", '&#34;', $this->xhtml);
427 $this->xhtml = str_replace("__GESHI_OPEN__", "&#60; ", $this->xhtml);
428 $this->xhtml = str_replace('CHEVRONescC', '>>',$this->xhtml);
429 $this->xhtml = str_replace('CHEVRONescO', '<<',$this->xhtml);
458 $matches[1] = str_replace("&amp;","&",$matches[1]);
483 return str_replace("&lt;", "< ",$matches[0]);
1119 $text = str_replace('"',"_ckgedit_QUOT_",$text);
1123 $quot = str_replace("_ckgedit_QUOT_", "\"", $matches[2]);
1124 $quot = str_replace("\\\\ ", "_ckgedit_NL", $quot);
1131 $quot = str_replace("_ckgedit_QUOT_", "\"", $matches[2]);
1132 $quot = str_replace("\\\\ ", "_ckgedit_NL", $quot);
1140 … $matches[1] = str_replace("\\_ckgedit_NL","_ckgedit_NL",$matches[1]);
1150 $matches[2] = str_replace("&lt;font","ckgeditFONTOpen",$matches[2]);
1151 $matches[2] = str_replace("font&gt;","ckgeditFONTClose",$matches[2]);
1155 $text = str_replace('CODE_BLOCK_EOL_MASK','\\', $text);
1198 $xhtml = str_replace(
1232 $xhtml = str_replace(array('oiwikio','ciwikic'),array('oIWIKIo','cIWIKIc'),$xhtml);
1256 $matches[0] = str_replace("//<//", "< ",$matches[0]);
1257 $matches[0] = str_replace(array("oIWIKIo","cIWIKIc"),"",$matches[0]);
1271 $xhtml = str_replace('_ckgedit_NPBBR_', "<span class='np_break'>&nbsp;</span>", $xhtml);
1272 $xhtml = str_replace('_ckgedit_QUOT_', '&quot;', $xhtml);
1273 $xhtml = str_replace('_ckgedit_NL', "\n", $xhtml);
1274 $xhtml = str_replace('</pre>', "\n\n</pre><p>&nbsp;</p>", $xhtml);
1280 …$xhtml = str_replace('ckgeditFONTOpen', '&amp;lt;font',$xhtml); // protect font markup in code bl…
1281 $xhtml = str_replace('ckgeditFONTClose', 'font&amp;gt;',$xhtml);
1282 $xhtml = str_replace('DBLBACKSPLASH', '\\ ',$xhtml);
1283 $xhtml = str_replace('NWPIPECHARACTER', '|',$xhtml);
1284 $xhtml = str_replace('&amp;lt;blockquote&gt;','<blockquote>',$xhtml);
1285 $xhtml = str_replace('&amp;lt;/blockquote&gt;','</blockquote>',$xhtml);