18 require_once
'Services/RTE/classes/class.ilRTE.php';
21 $string = str_replace(
"</li><br />",
"</li>", $string);
22 $string = str_replace(
"</li><br>",
"</li>", $string);
24 require_once
'Services/Utilities/classes/class.ilUtil.php';
28 $string = str_replace(
'{',
'{', $string);
29 $string = str_replace(
'}',
'}', $string);
42 $string = nl2br($string);
static insertLatexImages($a_text, $a_start="\ex\, $a_end="\\tex\")
replace [text]...[/tex] tags with formula image code
static _replaceMediaObjectImageSrc($a_text, $a_direction=0, $nic=IL_INST_ID)
replaces image source from mob image urls with the mob id or replaces mob id with the correct image s...
static isHTML($a_text)
Checks if a given string contains HTML or not.