markdown export for libertree now handles horizontal tulers correct.
This commit is contained in:
parent
5ed5773f57
commit
14bacc1e8c
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ function bb2diaspora($Text,$preserve_nl = false, $fordiaspora = true) {
|
|||
else {
|
||||
$Text = bbcode($Text, $preserve_nl, false, 4);
|
||||
// Libertree doesn't convert a harizontal rule if there isn't a linefeed
|
||||
$Text = str_replace("<hr />", "\n<hr />", $Text);
|
||||
$Text = str_replace("<hr />", "<br /><hr />", $Text);
|
||||
}
|
||||
|
||||
// Now convert HTML to Markdown
|
||||
|
|
Loading…
Reference in a new issue