try and get unadulterated bb2md2html2bb for simple stuff, then we'll work up to harder stuff
This commit is contained in:
parent
a9c65dfe27
commit
315784444a
4 changed files with 10 additions and 6 deletions
|
|
@ -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('*','*',$s);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue