add a switch to the Markdown parser for using hard line breaks (issue 3592)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user