mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix Twig filter name
This commit is contained in:
parent
ff817a567c
commit
e35e977479
@ -27,7 +27,7 @@
|
||||
<div class="pane content selected">
|
||||
{% if data.documentation is defined and data.documentation is not empty %}
|
||||
<h4>Documentation</h4>
|
||||
<div>{{ data.documentation|markdown }}</div>
|
||||
<div>{{ data.documentation|extra_markdown }}</div>
|
||||
{% endif %}
|
||||
|
||||
{% if data.requirements is defined and data.requirements is not empty %}
|
||||
|
@ -19,7 +19,7 @@ class MarkdownExtension extends \Twig_Extension
|
||||
public function getFilters()
|
||||
{
|
||||
return array(
|
||||
'markdown' => new \Twig_Filter_Method($this, 'markdown', array('is_safe' => array('html'))),
|
||||
'extra_markdown' => new \Twig_Filter_Method($this, 'markdown', array('is_safe' => array('html'))),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user