set auto_link_breaks to false by default

This commit is contained in:
Andy Miller
2015-01-21 22:07:37 -07:00
parent 7bc924b6d6
commit fed9862e44
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);
}