mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
add a switch to the Markdown parser for using hard line breaks (issue 3592)
This commit is contained in:
parent
4d77c8a90a
commit
6504156508
3 changed files with 31 additions and 6 deletions
|
@ -49,7 +49,7 @@ function help_content(App $a) {
|
|||
$filename = "Home";
|
||||
$a->page['title'] = t('Help');
|
||||
} else {
|
||||
$a->page['aside'] = Markdown($home);
|
||||
$a->page['aside'] = Markdown($home, false);
|
||||
}
|
||||
|
||||
if (!strlen($text)) {
|
||||
|
@ -60,7 +60,7 @@ function help_content(App $a) {
|
|||
));
|
||||
}
|
||||
|
||||
$html = Markdown($text);
|
||||
$html = Markdown($text, false);
|
||||
|
||||
if ($filename !== "Home") {
|
||||
// create TOC but not for home
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue