Commit graph

190 commits

Author SHA1 Message Date
Alex Demchenko 1384e05693 Merge pull request #67 from KnpLabs/fix/double-escaping
[RFR] Fix double escaping
2015-06-12 02:46:58 +03:00
Andrew Kovalyov 8d4254676a Add test case to cover configuration 2015-05-05 12:39:53 +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
Andrew Kovalyov 2bfabe5b80 Add phpunit ~4.5 to require-dev section 2015-05-05 12:27:05 +02:00
Andrew Kovalyov 53f0329c67 Add link to php-markdown lib. 2015-05-05 11:36:51 +02:00
Andrew Kovalyov 88b4e55239 Update README.markdown 2015-05-05 11:28:36 +02:00
Alex Demchenko 9ccca13101 Merge pull request #45 from vierbergenlars/fix-nohtml
Use no_markup option of the parser itself
2014-08-29 14:12:17 +03: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 7dd5e0d983 Merge pull request #62 from mhor/update_php_markdown_dependency
update php-markdown dependency
2014-08-28 17:53:14 +03:00
maxime horcholle 5ccb03a668 update php-markdown dependency 2014-08-28 16:47:49 +02:00
Alex Demchenko 1076d79666 Merge pull request #60 from peterrehm/patch-2
Updated version constraint according to discussion
2014-05-26 09:57:55 +03:00
Peter Rehm b6703c6bf8 Updated version constraint according to discussion 2014-05-26 07:15:58 +02:00
Alex Demchenko c31f07b28d Merge pull request #59 from BattleRattle/fix-travis-php
Test newer PHP versions
2014-05-25 17:05:51 +03:00
Norman Soetbeer 337bc27b48 remove fixation on symfony version 2014-05-25 15:45:57 +02:00
Norman Soetbeer 4eebd4b6f4 use hhvm stable instead of nightly 2014-05-25 15:40:02 +02:00
Alex Demchenko 1f06adcf86 Merge pull request #58 from peterrehm/patch-1
Updated the recommended composer installation version
2014-05-25 14:50:22 +03:00
Peter Rehm 3ded28b30c Updated version string according to discussion 2014-05-25 12:33:45 +02:00
Norman Soetbeer 68211bdb59 Test newer PHP versions 2014-05-24 04:33:54 +02:00
Peter Rehm 2dffba450f Updated the recommended composer installation version 2014-05-23 21:39:43 +02:00
Alex Demchenko e682a82f25 Merge pull request #56 from elnur/sundown-parameters
Make the Sundown service classes overridable using parameters
2014-02-27 23:41:27 +02:00
Elnur Abdurrakhimov f8959e7bdd Make the Sundown service classes overridable using parameters 2014-02-24 21:08:07 +04:00
Alex Demchenko f6a3df1a1f Merge pull request #53 from stof/patch-3
Fixed the branch alias for master
2014-02-20 13:12:32 +02:00
Alex Demchenko c24fca93e1 Merge pull request #54 from stof/bc_interface
Reverted the interface renaming done in #50
2014-02-20 13:01:37 +02:00
Christophe Coevoet 7f115dc73f Reverted the interface renaming done in #50
All code in the bundle is still relying on the transformMarkdown method in
parsers, not on the transform method.
Normal parsers are still working because they still have the method, and
PHP does not have strict type checking for typehints.
However, the SundownParser was still broken. #51 renamed the method to
avoid a fatal error for the interface, but then the method used by the
bundle became missing.
2014-02-20 11:34:05 +01:00
Christophe Coevoet 4af9a8010f Fixed the branch alias for master 2014-02-20 11:16:26 +01:00
Alex Demchenko ddc5d775b6 Switch to the php 5.3.9, drop support symfony 2.0 2014-02-18 14:27:42 +02:00
Alex Demchenko 2aa4a7d9d8 Merge pull request #51 from elnur/sundown-fix
Make the Sundown parser implement the renamed method from the parser interface
2014-02-17 23:00:33 +02:00
Elnur Abdurrakhimov 7f561e2b17 Make the Sundown parser implement the renamed method from the parser interface 2014-02-16 17:04:56 +04: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 7165b5055c Updating testsuite to Michel Fortin implementation.
The footnote behaviour has changed during migration. You might want to check out the pr mentionning it : https://github.com/KnpLabs/KnpMarkdownBundle/pull/50
2014-02-14 14:21:46 +01:00
Alex Demchenko 3308507fbc Merge pull request #48 from tamirvs/feat-images-option
Added the option to disable images
2014-02-14 14:21:24 +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
Alex Demchenko 590dab72b2 Drop support symfony 2.0 2014-02-13 18:58:59 +02:00
Alex Demchenko bb75cb9bf1 Remove deps base installation instruction 2014-02-13 18:21:22 +02: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 e7982185e5 Added default option to Light and Medium parsers 2013-12-16 17:48:58 +02:00
tamirvs 9d3a2ac712 Added images option to features list 2013-12-16 17:38:02 +02:00
Alex Demchenko 9f4f88919d Merge pull request #41 from elnur/support-symfony-2.x
Support all Symfony 2.x versions
2013-05-20 01:29:54 -07:00
Elnur Abdurrakhimov ec4df7c655 Support all Symfony 2.x versions 2013-04-13 16:26:35 +04:00
Joseph Bielawski 1a31848de5 Merge pull request #37 from mathewpeterson/patch-1
Update README.markdown
2012-10-17 12:09:15 -07:00
Mathew Peterson 669f3ec1be Update README.markdown
Fixes missing comma for autoloading definition.
2012-10-17 14:08:23 -05:00
Joseph Bielawski ae45c98b2d Fix rare case when service has not expected tag 2012-10-17 13:11:30 +02:00
Joseph Bielawski bd597e66a1 Fix way how Sundown parser is added
Fix detection of default parser when none is set
Add Flavored preset from KnpBundles.com
2012-10-17 12:01:25 +02:00
Joseph Bielawski 3e57c2a866 Merge pull request #35 from stof/patch-2
Fixed the bundle name in the readme
2012-10-16 01:56:07 -07:00
Christophe Coevoet 58d1ccc986 Fixed the bundle name in the readme 2012-10-16 11:52:58 +03: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
Joseph Bielawski 4169b545e7 Fix BC break against Symfony 2.0.x 2012-10-15 09:41:28 +02:00
Joseph Bielawski d3350c1da0 Merge pull request #29 from craue/patch-2
fixed typos in README
2012-10-13 07:15:09 -07:00
Joseph Bielawski 7c088d3094 Merge pull request #30 from cordoval/feature/addSundownSupport
add sundown support
2012-10-13 07:13:49 -07:00