aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix lazy ordered list example in documentationsblondon2016-03-301-2/+2
| | | | | | | | | | | | | | | The documentation is not accurate when lazy_ol=False parameter is called. The example shows the 'start' attribute to the first <li> tag. However, the attribute is in the <ol> tag: >>> import markdown >>> s = """ ... 4. Apples ... 5. Oranges ... 6. Pears""" >>> markdown.markdown(s, lazy_ol=False) u'<ol start="4">\n<li>Apples</li>\n<li>Oranges</li>\n<li>Pears</li>\n</ol>' The behaviour of the library is the correct one (https://developer.mozilla.org/fr/docs/Web/HTML/Element/ol), so the documentation need to be fixed, not the library.
* Upped version to 2.6.6.2.6.6-finalWaylan Limberg2016-03-201-1/+1
|
* Merge pull request #462 from waylan/toc_bugWaylan Limberg2016-03-172-1/+74
|\ | | | | Toc bug
| * toc: Remove children from header element after iteratingDmitry Shachnev2016-03-171-1/+2
| | | | | | | | Removing items while iterating can result in wrong behavior. Refs #461.
| * Add single inline code toc testsStephan Groß2016-03-171-4/+33
| |
| * Add toc permalink testsStephan Groß2016-03-171-0/+28
| |
| * Add failing toc testStephan Groß2016-03-171-0/+15
|/
* Make TestCodeHilite work with Pygments ≥ 2.1.1Dmitry Shachnev2016-03-031-3/+3
| | | | | | | | New versions of Pygments insert <span></span> blocks in the beginning of the generated output sometimes [1], so we need to remove those blocks before doing the actual checking. [1]: https://bitbucket.org/birkenfeld/pygments-main/commits/164574c13533
* Fix for exceptions handling in HtmlOutput’s formatErr methodDmitry Shachnev2016-03-031-0/+2
| | | | | | | Now it should no longer print internal errors instead of intended ones on Python 3. Thanks to Maurice van der Pot for finding this fix.
* Added a few empty lines in the test to satisfy flake8Maurice van der Pot2016-02-271-0/+3
|
* Added assertStartsWith to tests to give better failure messagesMaurice van der Pot2016-02-271-27/+37
| | | | | The failure printed when self.assertTrue was used with str.startswith did not show the string that was being searched.
* Improve RawHtmlProcessor to have linear iso quadratic performanceMaurice van der Pot2016-02-261-7/+10
|
* Enabled pygments based tests.Waylan Limberg2016-01-282-36/+14
| | | | | | Added pygments to test-requirements and updated codehiliting tests to only test partial output as output differs depending on Pygments version. Fixes #453
* Remove Py32 tests from travis, not tox.Waylan Limberg2016-01-282-2/+1
| | | | That way py32 tests can still be run locally. Just not on the CI server.
* No longer test Python 3.2Waylan Limberg2016-01-281-1/+1
| | | Pip version 8 dropped support for Python 3.2 and by testing it we are getting errors (related to pip, not Markdown) on that version only. Removing the Py32 tests for now so our automated tools continue to work.
* Remove downloadcache tox config value.Waylan Limberg2016-01-281-2/+1
| | | The `downloadcache` config value is deprecated by tox and the related `--download-cache` flag is removed on pip version 8.0 (deprecated in 6.0). With this change tests should run with the lasted versions of all tools (they do not without it).
* Added Issue Stats badgeWaylan Limberg2015-12-251-0/+1
|
* Updated change_logWaylan Limberg2015-11-241-0/+2
|
* Upped version to 2.6.5.2.6.5-finalWaylan Limberg2015-11-241-1/+1
|
* Switch Travis to new infrastructure for faster build.Waylan Limberg2015-11-171-4/+6
|
* Merge pull request #441 from mitya57/masterWaylan Limberg2015-11-073-2/+23
|\ | | | | Fix #440 (Tables extension drops characters after code spans)
| * Fix handling of characters after backtick in tables.Dmitry Shachnev2015-11-071-1/+1
| | | | | | | | Fixes #440. Thanks @jandecaluwe for the bug report.
| * Add a failing testcase for issue #440.Dmitry Shachnev2015-11-072-1/+22
|/
* Upped to version 2.6.4.2.6.4-finalWaylan Limberg2015-11-062-1/+3
|
* Ensure InlinePatterns don't drop newlines.Waylan Limberg2015-11-063-2/+7
| | | | | | Drppoed the non-greedy quantifier from the end of the inlinePatterns as it served no useful purpose and was actually (in very rare edge cases) causing newlines to be dropped. FIxes #439. Thanks to @munificent for the report.
* Upped to version 2.6.3.2.6.3-finalWaylan Limberg2015-10-262-1/+3
|
* Merge pull request #437 from MustafaHaddara/table-inline-codeWaylan Limberg2015-10-264-4/+134
|\ | | | | Table inline code
| * Fixed handling of table cell splitMustafa Haddara2015-10-244-4/+134
| |
* | Coverage 4.0 dropped support for Python 3.2. Until we drop Python 3.2, we ↵Waylan Limberg2015-10-261-1/+1
|/ | | | must stick with coverage<4.0.
* Merge pull request #432 from facelessuser/masterWaylan Limberg2015-09-053-4/+16
|\ | | | | Fix infinite loop #430
| * Fix infinite loop #430facelessuser2015-09-043-4/+16
|/ | | | | | | | | This should fix the remaining corner cases that can cause infinite loops. Previous iterations did not account for scenarios where the “end” index was less than the “start” index. If the “end” index is ever less than or equal to the “start” index, the “end” will be adjusted to to be “start” + 1 allow the full range to be extracted and replaced.
* Merge pull request #429 from Tigge/patch-1Waylan Limberg2015-08-293-1/+21
|\ | | | | Fix find footnote placeholder to recurse
| * Fix find footnote placeholder to recurseGustav Tiger2015-08-293-1/+21
|/
* Merge pull request #419 from mitya57/masterWaylan Limberg2015-06-205-12/+16
|\ | | | | Use a different approach to fix the smarty bug
| * Add a test for duplicate angled quotes without smarty extensionDmitry Shachnev2015-06-202-1/+4
| |
| * Override regex for html inline pattern when smart_angled_quotes is trueDmitry Shachnev2015-06-201-1/+6
| | | | | | | | | | Add a restriction that the closing angled quote should not be duplicate, so that we can use our own pattern for handling duplicate quotes.
| * Add a test to make sure quotes processor does not touch code blocksDmitry Shachnev2015-06-192-2/+2
| |
| * Revert "smarty: Use a separate processor for angled quotes"Dmitry Shachnev2015-06-191-8/+4
| | | | | | | | | | | | | | That commit caused a regression where `<<` and `>>` inside code blocks were wrongly replaced with double quotes. This reverts commit 5029d829c1532f31adc9acbf54d88bb469a69a4f.
* | Restict travis to non-experimental branches.Waylan Limberg2015-06-191-0/+4
|/
* Merge pull request #417 from mitya57/masterWaylan Limberg2015-06-153-4/+10
|\ | | | | Fix processing angle quotes in smarty extension
| * smarty: Use a separate processor for angled quotesDmitry Shachnev2015-06-151-4/+8
| | | | | | | | Run that processor before inline processor to fix the test failure.
| * tests: Add a failing case for `<<Hello>>` to smarty testDmitry Shachnev2015-06-152-0/+2
|/
* Merge pull request #415 from karepker/masterWaylan Limberg2015-06-012-11/+28
|\ | | | | Fixed #414 parser ignoring value of `tab_length`
| * Updated BlockProcessor to new-style class. Changed subclasses to use super().Kar Epker2015-06-012-6/+6
| |
| * Changed formatting of regex strings. Fixed flake8 issues.Kar Epker2015-06-012-19/+10
| |
| * Changed line continuations to satisfy pylint.Kar Epker2015-06-012-14/+19
| |
| * Fixed parser ignoring value of tab_length.Kar Epker2015-06-012-9/+30
|/
* Updated change_log for 2.6.2.Waylan Limberg2015-04-201-0/+2
|
* Upped version to 2.6.22.6.2-finalWaylan Limberg2015-04-201-1/+1
|
* Merge pull request #404 from iKevinY/spelling-fixesWaylan Limberg2015-04-061-6/+6
|\ | | | | Miscellaneous capitalization/spelling fixes