We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecde568 commit 65bfd46Copy full SHA for 65bfd46
best_practices/templates.rst
@@ -131,7 +131,7 @@ service in the constructor of the Twig extension:
131
new \Twig_SimpleFilter(
132
'md2html',
133
array($this, 'markdownToHtml'),
134
- array('is_safe' => array('html'))
+ array('is_safe' => array('html'), 'pre_escape' => 'html')
135
),
136
);
137
}
0 commit comments