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