mirror of
https://github.com/getgrav/grav.git
synced 2026-07-07 16:22:59 +02:00
set auto_link_breaks to false by default
This commit is contained in:
@@ -22,7 +22,7 @@ pages:
|
||||
twig: true # Enable twig level events
|
||||
markdown:
|
||||
extra: false # Enable support for Markdown Extra support (GFM by default)
|
||||
auto_line_breaks: true # Enable automatic line breaks
|
||||
auto_line_breaks: false # Enable automatic line breaks
|
||||
auto_url_links: false # Enable automatic HTML links
|
||||
escape_markup: false # Escape markup tags into entities
|
||||
special_chars: # List of special characters to automatically convert to entities
|
||||
|
||||
@@ -430,9 +430,9 @@ class Page
|
||||
}
|
||||
|
||||
$parsedown->setBreaksEnabled($defaults['auto_line_breaks']);
|
||||
$parsedown->setSpecialChars($defaults['special_chars']);
|
||||
$parsedown->setUrlsLinked($defaults['auto_url_links']);
|
||||
$parsedown->setMarkupEscaped($defaults['escape_markup']);
|
||||
$parsedown->setSpecialChars($defaults['special_chars']);
|
||||
|
||||
$this->content = $parsedown->text($this->content);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user