<?php
/* I feel this function is no more useful because of TinyMCE
function ConvertToHTML($String, $Html = true)
{
$String = str_replace("'", "\'", $String);
$String = str_replace("
", "<br />", $String); //a new line is a new line
if($Html == false)
{
$String = str_replace('"', """, $String);
$String = str_replace("'", "'", $String);
$String = str_replace("<", "<", $String);
$String = str_replace(">", ">", $String);
}
return($String);
}
*/
/* but some files still require it! */
function ConvertToHTML($String, $HTML = true)
{
/* do nothing */
return $String;
}
?>