Commit graph

13 commits

Author SHA1 Message Date
Tac Tacelosky eb31781090 remove deprecations 2021-11-05 12:50:12 -04:00
Abdouni Abdelkarim 6dba9b29bc
Update Twig filters and extension
Hello,

I just updated this file to be compatible with Symfony 5.
The twig filters and extensions were deprecated.

Cheers 😉
2019-11-26 10:56:15 +01:00
Ryan Weaver 21576fce48 Marking new service has private, then adding a workaround for the integration test 2015-12-16 10:54:17 -05:00
Ryan Weaver c5f5046c8e Removing MarkdownTwigExtension dependency to MarkdownHelper
This allows the Twig extension to be used without the templating component.
This also introduces a new integration test as a sanity check that all the
configuration / compiler pass was setup correctly.
2015-12-15 16:08:41 -05:00
Christophe Coevoet 0ecc8f0dec Remove wrong return 2015-08-20 12:49:40 +02:00
Christophe Coevoet 6ca15b8314 Switch the Twig integration to use non-deprecated APIs 2015-08-19 15:51:52 +02:00
Joseph Bielawski 3c541b580b Removed hard dependency on MarkdownParser code, now uses dflydev/markdown library
Refactored way how parsers are initialized, and allow to select parser while rendering
Interface `MarkdownParserInterface` method name was changed from `#transform($text)` to `#transformMarkdown($text)`
2012-10-15 17:28:35 +02:00
Matthieu Bontemps 6414f6be0a Change Knplabs to Knp. BC break before Symfony2 release. 2011-07-03 11:30:09 +02:00
Matthieu Bontemps 574aaa762e Change namespaces to Vendor\Bundle\BundleName to reflect best practices. 2011-03-12 18:47:26 +01:00
Antoine Hérault aa765dd1dd Add vendor prefix 2011-02-04 15:28:05 +01:00
Benjamin Lévêque 62990282c1 Update to work with the last version of twig 2011-02-03 10:34:02 -08:00
Matthieu Bontemps 68170b74e8 The markdown filter is automatically marked as safe 2010-10-03 09:59:27 +02:00
Matthieu Bontemps 65c5223d9c Introduce a Twig markdown filter 2010-09-19 21:05:36 +02:00