The blixtformat function works great,
but I lost the :F functionality, like the possibility of new lines ...

I took a chance on \n as being CR/LF in php, but no ...
Should I convert forth or back first ???

function blixtformat($this_string) {
        $blixtcontent = ereg_replace("\n","<br><br>",$this_string);
        $blixtcontent = ereg_replace("{b}","<b>",$this_string);
        $blixtcontent = ereg_replace("{/b}","</b>",$blixtcontent);
        $blixtcontent = ereg_replace("{p}","<p>",$blixtcontent);
        $blixtcontent = ereg_replace("{/p}","</p>",$blixtcontent);
        $blixtcontent = ereg_replace("{br}","<br>",$blixtcontent);
        return $blixtcontent;
}


-- 
Regards,
Blixten

Cellular : +46 (0)708-999 105

Linux & KDE !

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to