1
0
Fork 0

try and get unadulterated bb2md2html2bb for simple stuff, then we'll work up to harder stuff

This commit is contained in:
friendica 2012-07-02 01:11:19 -07:00
commit 315784444a
4 changed files with 10 additions and 6 deletions

View file

@ -38,8 +38,8 @@ function diaspora2bb($s) {
$s = Markdown($s);
$s = str_replace('#','#',$s);
$s = str_replace("\n",'<br />',$s);
// we seem to have double linebreaks
// $s = str_replace("\n",'<br />',$s);
$s = html2bbcode($s);
// $s = str_replace('&#42;','*',$s);