Commit graph

25 commits

Author SHA1 Message Date
bocharsky-bw 972faeb8cf Get rid of property types for now 2022-01-25 19:02:38 +02:00
Tac Tacelosky 90ff78064e update phpunit 2021-11-14 20:39:23 -05:00
Tac Tacelosky eb31781090 remove deprecations 2021-11-05 12:50:12 -04:00
Matthias Breddin 48f1ed6e5b Pull in changes from \Michelf\MarkdownExtra
This line is missing in the the overwritten doAnchors() method, preventing using extra id / class attributes [text](link)(#id .class)
2016-01-08 04:20:19 +01:00
Christian Raue b1f3bc4ca1 fix the no_html option 2015-08-20 09:02:23 +02:00
Andrew Kovalyov bd9170ee10 Fix default configuration 2015-05-05 12:39:37 +02:00
Andrew Kovalyov 8423632a15 Fixed invalid logic of configuration which lead to double-escaping of html entities 2015-05-05 12:35:47 +02:00
Lars Vierbergen 8b30483894 Use no_html option on the parser itself
Just escaping the text before feeding it into the parser messes up
markdown quote blocks, since markdown uses > for quoting, and escaping
that turns it into >, which does not get parsed correctly.
2014-08-29 12:37:05 +02:00
Alex Demchenko 66e891bf0d Merge pull request #50 from iammichiel/master
Migration to MichelFortin's implementation.
2014-02-15 00:23:44 +02:00
Michiel Missotten a9bca9ffc6 Removing overriden method for fencedCodeBlocks.
Michel Fortin's implementation is able to handle the fencedCodeBlock without any escaping mecanism.
2014-02-14 10:06:15 +01:00
Michiel Missotten 7c05b45fae Migration to MichelFortin's implementation.
Since flydev has marked his version as deprecated (it was a simple composer port of Michel Fortin's initial project), it seems good to revert the dependency to the stable/continued project.
2014-02-13 16:52:14 +01:00
tamirvs 9d3a2ac712 Added images option to features list 2013-12-16 17:38:02 +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
Kevin Bernard-Allies 8ad7ddee42 support Markdown Extra 2012-05-28 04:08:50 +02:00
Kevin Bernard-Allies 0482f47324 disable no_html by default 2012-05-28 03:39:35 +02:00
Kevin Bernard-Allies 16bbbf7ac8 Add no_html feature 2012-05-27 19:09:50 +02:00
Matthieu Bontemps 6414f6be0a Change Knplabs to Knp. BC break before Symfony2 release. 2011-07-03 11:30:09 +02:00
ornicar e9b96ec938 Merge branch 'master' of git://github.com/knplabs/MarkdownBundle
Conflicts:
	Parser/MarkdownParser.php
2011-04-25 21:03:03 -07:00
ornicar f04bb4a7e6 Modernize the bundle, add parser implementation choice, and improve doc. 2011-04-06 23:35:00 -07:00
Jérôme Tamarelle 9be7f15be0 Don't load MarkdownExtraParser.php if the class MarkdownExtraParser already exists (if included previously to replace the one provided with the bundle) 2011-04-05 00:01:16 +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
ornicar 599cf25f23 Improve doc and comments 2010-07-22 12:06:54 +02:00
Thibault Duplessis ff438936a5 Improve performance, allow to choose precisely parser features, more unit and performance tests 2010-05-12 01:25:34 +02:00
ornicar 8191b1e5ea Replace parsers with one unique parser, fix white spaces on new lines 2010-05-06 14:54:35 +02:00