Skip to content

Commit

Permalink
Twig 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed May 7, 2020
1 parent 6cfb996 commit ec8667d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.0.2"></a>
# [1.0.2](https://github.com/flextype-plugins/twig/compare/v1.0.1...v1.0.2) (2020-05-07)

### Bug fixes
* **core:** fix markdown filter


<a name="1.0.1"></a>
# [1.0.1](https://github.com/flextype-plugins/twig/compare/v1.0.0...v1.0.1) (2020-05-07)

Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Twig
version: 1.0.1
version: 1.0.2
description: Twig plugin to present Twig template engine for Flextype.
icon: fas fa-palette
author:
Expand Down
2 changes: 1 addition & 1 deletion twig/MarkdownTwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ public function getFilters() : array
*/
public function markdown($input, bool $cache = true) : string
{
return $this->flextype['parser']->decode($input, 'markdown', $cache);
return $this->flextype['parser']->parse($input, 'markdown', $cache);
}
}

0 comments on commit ec8667d

Please sign in to comment.