Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix lazy ordered list example in documentation | sblondon | 2016-03-30 | 1 | -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-final | Waylan Limberg | 2016-03-20 | 1 | -1/+1 |
| | |||||
* | Merge pull request #462 from waylan/toc_bug | Waylan Limberg | 2016-03-17 | 2 | -1/+74 |
|\ | | | | | Toc bug | ||||
| * | toc: Remove children from header element after iterating | Dmitry Shachnev | 2016-03-17 | 1 | -1/+2 |
| | | | | | | | | Removing items while iterating can result in wrong behavior. Refs #461. | ||||
| * | Add single inline code toc tests | Stephan Groß | 2016-03-17 | 1 | -4/+33 |
| | | |||||
| * | Add toc permalink tests | Stephan Groß | 2016-03-17 | 1 | -0/+28 |
| | | |||||
| * | Add failing toc test | Stephan Groß | 2016-03-17 | 1 | -0/+15 |
|/ | |||||
* | Make TestCodeHilite work with Pygments ≥ 2.1.1 | Dmitry Shachnev | 2016-03-03 | 1 | -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 method | Dmitry Shachnev | 2016-03-03 | 1 | -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 flake8 | Maurice van der Pot | 2016-02-27 | 1 | -0/+3 |
| | |||||
* | Added assertStartsWith to tests to give better failure messages | Maurice van der Pot | 2016-02-27 | 1 | -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 performance | Maurice van der Pot | 2016-02-26 | 1 | -7/+10 |
| | |||||
* | Enabled pygments based tests. | Waylan Limberg | 2016-01-28 | 2 | -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 Limberg | 2016-01-28 | 2 | -2/+1 |
| | | | | That way py32 tests can still be run locally. Just not on the CI server. | ||||
* | No longer test Python 3.2 | Waylan Limberg | 2016-01-28 | 1 | -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 Limberg | 2016-01-28 | 1 | -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 badge | Waylan Limberg | 2015-12-25 | 1 | -0/+1 |
| | |||||
* | Updated change_log | Waylan Limberg | 2015-11-24 | 1 | -0/+2 |
| | |||||
* | Upped version to 2.6.5.2.6.5-final | Waylan Limberg | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | Switch Travis to new infrastructure for faster build. | Waylan Limberg | 2015-11-17 | 1 | -4/+6 |
| | |||||
* | Merge pull request #441 from mitya57/master | Waylan Limberg | 2015-11-07 | 3 | -2/+23 |
|\ | | | | | Fix #440 (Tables extension drops characters after code spans) | ||||
| * | Fix handling of characters after backtick in tables. | Dmitry Shachnev | 2015-11-07 | 1 | -1/+1 |
| | | | | | | | | Fixes #440. Thanks @jandecaluwe for the bug report. | ||||
| * | Add a failing testcase for issue #440. | Dmitry Shachnev | 2015-11-07 | 2 | -1/+22 |
|/ | |||||
* | Upped to version 2.6.4.2.6.4-final | Waylan Limberg | 2015-11-06 | 2 | -1/+3 |
| | |||||
* | Ensure InlinePatterns don't drop newlines. | Waylan Limberg | 2015-11-06 | 3 | -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-final | Waylan Limberg | 2015-10-26 | 2 | -1/+3 |
| | |||||
* | Merge pull request #437 from MustafaHaddara/table-inline-code | Waylan Limberg | 2015-10-26 | 4 | -4/+134 |
|\ | | | | | Table inline code | ||||
| * | Fixed handling of table cell split | Mustafa Haddara | 2015-10-24 | 4 | -4/+134 |
| | | |||||
* | | Coverage 4.0 dropped support for Python 3.2. Until we drop Python 3.2, we ↵ | Waylan Limberg | 2015-10-26 | 1 | -1/+1 |
|/ | | | | must stick with coverage<4.0. | ||||
* | Merge pull request #432 from facelessuser/master | Waylan Limberg | 2015-09-05 | 3 | -4/+16 |
|\ | | | | | Fix infinite loop #430 | ||||
| * | Fix infinite loop #430 | facelessuser | 2015-09-04 | 3 | -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-1 | Waylan Limberg | 2015-08-29 | 3 | -1/+21 |
|\ | | | | | Fix find footnote placeholder to recurse | ||||
| * | Fix find footnote placeholder to recurse | Gustav Tiger | 2015-08-29 | 3 | -1/+21 |
|/ | |||||
* | Merge pull request #419 from mitya57/master | Waylan Limberg | 2015-06-20 | 5 | -12/+16 |
|\ | | | | | Use a different approach to fix the smarty bug | ||||
| * | Add a test for duplicate angled quotes without smarty extension | Dmitry Shachnev | 2015-06-20 | 2 | -1/+4 |
| | | |||||
| * | Override regex for html inline pattern when smart_angled_quotes is true | Dmitry Shachnev | 2015-06-20 | 1 | -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 blocks | Dmitry Shachnev | 2015-06-19 | 2 | -2/+2 |
| | | |||||
| * | Revert "smarty: Use a separate processor for angled quotes" | Dmitry Shachnev | 2015-06-19 | 1 | -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 Limberg | 2015-06-19 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #417 from mitya57/master | Waylan Limberg | 2015-06-15 | 3 | -4/+10 |
|\ | | | | | Fix processing angle quotes in smarty extension | ||||
| * | smarty: Use a separate processor for angled quotes | Dmitry Shachnev | 2015-06-15 | 1 | -4/+8 |
| | | | | | | | | Run that processor before inline processor to fix the test failure. | ||||
| * | tests: Add a failing case for `<<Hello>>` to smarty test | Dmitry Shachnev | 2015-06-15 | 2 | -0/+2 |
|/ | |||||
* | Merge pull request #415 from karepker/master | Waylan Limberg | 2015-06-01 | 2 | -11/+28 |
|\ | | | | | Fixed #414 parser ignoring value of `tab_length` | ||||
| * | Updated BlockProcessor to new-style class. Changed subclasses to use super(). | Kar Epker | 2015-06-01 | 2 | -6/+6 |
| | | |||||
| * | Changed formatting of regex strings. Fixed flake8 issues. | Kar Epker | 2015-06-01 | 2 | -19/+10 |
| | | |||||
| * | Changed line continuations to satisfy pylint. | Kar Epker | 2015-06-01 | 2 | -14/+19 |
| | | |||||
| * | Fixed parser ignoring value of tab_length. | Kar Epker | 2015-06-01 | 2 | -9/+30 |
|/ | |||||
* | Updated change_log for 2.6.2. | Waylan Limberg | 2015-04-20 | 1 | -0/+2 |
| | |||||
* | Upped version to 2.6.22.6.2-final | Waylan Limberg | 2015-04-20 | 1 | -1/+1 |
| | |||||
* | Merge pull request #404 from iKevinY/spelling-fixes | Waylan Limberg | 2015-04-06 | 1 | -6/+6 |
|\ | | | | | Miscellaneous capitalization/spelling fixes |