Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The Testing Framework will now pass any non-reserved args set in test.cfg ↵ | Waylan Limberg | 2011-04-29 | 2 | -6/+9 |
| | | | | files as keyword arguments to Markdown for a given syntax test. As Markdown ignores unknown args, this should be safe and will allow testing of any newly added keywords without additional modification of the testing framework. | ||||
* | Merge commit 'refs/merge-requests/13' of ↵ | Waylan Limberg | 2011-04-28 | 1 | -2/+2 |
|\ | | | | | | | git://gitorious.org/python-markdown/mainline into merge-requests/13 | ||||
| * | fixed startindex reset in multiple ul | Rohan Jain | 2011-04-05 | 1 | -2/+2 |
| | | | | | | | | | | Now the startindex would be reset if continual unordered lists are present (tests are passed). | ||||
* | | Update tests for logging changes. No more message function. | Waylan Limberg | 2011-04-28 | 1 | -21/+6 |
|/ | |||||
* | Skipping codehilite test as differant versions of pygments give slightly ↵ | Waylan Limberg | 2010-11-04 | 1 | -0/+2 |
| | | | | differant output and I'm tired of seeing the test fail when there is no real problem. | ||||
* | Fixed Ticket 74. AtomicStrings should now be ackowledged (and preserved) in ↵ | Waylan Limberg | 2010-11-04 | 1 | -0/+45 |
| | | | | all instances. This was a real pain to debug, but an easy fix once I found it. Thanks to obs for the report. | ||||
* | Fixed previous two commits. cElementTree cannot use ElementTree nodes in the ↵ | Waylan Limberg | 2010-10-31 | 1 | -2/+6 |
| | | | | tree, but it still uses ElementTree Comment assinged to a node's tag to test for Comment nodes. Also no longer considering Commet nodes to be block level. | ||||
* | Fixed Ticket 80. Added support for ElementTree Comments to be included by ↵ | Waylan Limberg | 2010-10-29 | 1 | -0/+36 |
| | | | | third party extensions when using cElementTree. | ||||
* | Added short reference links. No more hanging empty brackets on reference ↵ | Waylan Limberg | 2010-10-11 | 2 | -1/+11 |
| | | | | links; i.e., [this works]. Associated with and noted as missing when debuging Ticket 79. | ||||
* | Fixed Ticket 79. Linebreaks in reference link identifiers are now ignored. ↵ | Waylan Limberg | 2010-10-11 | 2 | -1/+17 |
| | | | | This matches the most recent version of markdown.pl among other implementations and allows links to work after editors do autolinebreak stuff to text. | ||||
* | Fixed Ticket 71. Wrapper functions no longer do there own thing with ↵ | Waylan Limberg | 2010-08-29 | 1 | -2/+2 |
| | | | | extensions. All behavior is now within the class. | ||||
* | Added test files for bug fix to ticket 62 | Gerry LaMontagne | 2010-09-02 | 4 | -0/+70 |
| | |||||
* | Fixed Ticket 70 and added a test. Footnote references whithout a ↵ | Waylan Limberg | 2010-08-25 | 2 | -0/+3 |
| | | | | coresponding definition no longer raise an error. They now pass through as plain text - which is the same behavior as PHP Markdown Extra. Thanks for the report Benjamin Bach. | ||||
* | Fixed problem hidden by Ticket 68. Defining a footnote placeholder in a ↵ | Waylan Limberg | 2010-08-02 | 2 | -0/+15 |
| | | | | markdown document results in the placeholder actually being replaced. Also added a test for this. Note that if the placeholder paragraph has other text, that text is lost. Not sure if this is a bug or bad markdown syntax. | ||||
* | Added logging imports to markdown.extensions which were missed in recent ↵ | Waylan Limberg | 2010-07-22 | 1 | -0/+75 |
| | | | | reorg. Also added tests to make sure erros and warnings are raised where they should be. | ||||
* | Fixed Ticket 65. Lines with only a lessthan sign (<) no longer crash the ↵ | Waylan Limberg | 2010-07-14 | 2 | -1/+14 |
| | | | | raw html parser. Fixed a related but I found while debugging this as well. Also added tests for both. | ||||
* | Removed Global variable HTML_PLACEHOLDER. Use HtmlStash.get_placeholder(key) ↵ | Waylan Limberg | 2010-07-06 | 1 | -4/+2 |
| | | | | if you need it. | ||||
* | Moved HtmlStash and base Prosessor classes to the new util module. | Waylan Limberg | 2010-07-06 | 1 | -3/+3 |
| | |||||
* | Fixed Ticket 60. The dd in definition lists can now not be indented on ↵ | Waylan Limberg | 2010-03-24 | 2 | -0/+12 |
| | | | | secondary lines. | ||||
* | Fixed ticket 59. Reference links now strip angle brackets from the url. | Waylan Limberg | 2010-03-25 | 2 | -1/+11 |
| | |||||
* | Changed the default style used by pygments in the codehilite extension. ↵ | Waylan Limberg | 2010-03-25 | 1 | -2/+2 |
| | | | | This was a recently added feature, but older versions of pygments don't know what the 'tango' style is, so we now use pygemnts 'default' by default. Not sure why the 'tango' style was used here in the first place. I'm guess it was the preferance of whoever contributed the patch. | ||||
* | Blockquoted text in the first item of a list is now placed in child p tag of the | Gerry LaMontagne | 2010-03-23 | 2 | -0/+55 |
| | | | | blockquote tag. Added lists8.txt and .html for test suite to test condition. | ||||
* | Fixed ticket 58. The first item of a looselist gets placed in p tags when | Gerry LaMontagne | 2010-03-22 | 1 | -2/+4 |
| | | | | | | it has a sublist. Previously, the test suite erroneously passed this condition because there was an error in the expected '.html' output file. The expected output has been corrected as well. | ||||
* | Fixed Ticket 57. Lists where the first line of an item is a nested item, now ↵ | Waylan Limberg | 2010-03-19 | 2 | -0/+142 |
| | | | | observe rules for using p tags. Thanks to Gerry LaMontagne for the patch. | ||||
* | Fixed Ticket 53. Nested lists no longer isorder items in certain edge cases. ↵ | Waylan Limberg | 2010-03-15 | 2 | -0/+22 |
| | | | | Thanks for the report and preliminary work Gerry LaMontagne. | ||||
* | Fix bug with rawhtml and markdown escaping. Previously, any inline rawhtml ↵ | Waylan Limberg | 2010-03-15 | 2 | -1/+3 |
| | | | | that contained text that fit markdown's escaping syntax (i.e. <x\]>) was never unescaped. Now it is. Markdown probably shouldn't be escaping before removing rawhtml in the first place, but this will do for now. | ||||
* | Updated last failing test as we no longer need a demo of a failing test now ↵ | Waylan Limberg | 2010-02-22 | 1 | -2/+2 |
| | | | | that the branch is merged. | ||||
* | Changes path of html output to be written into current dir rather than a tmp ↵ | Waylan Limberg | 2010-02-22 | 1 | -1/+1 |
| | | | | dir. No need to create the tmp dir on first run. | ||||
* | Added run-tests.py script and added a helpful error message if nose is not ↵ | Waylan Limberg | 2010-02-13 | 1 | -5/+6 |
| | | | | installed. Note the run-tests script will be used by simply running 'nosetests' from the commandline, so the hack in 'tests/__init__.py' has been removed. | ||||
* | Updated codehilite test to match new pygments output (they added an extra ↵ | Waylan Limberg | 2010-02-13 | 1 | -2/+2 |
| | | | | div around line numbers). | ||||
* | Moved test dir back out of markdown lib. We don't need to install the tests ↵ | Waylan Limberg | 2010-02-12 | 391 | -0/+19447 |
| | | | | in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc. | ||||
* | Moved remaining tests from merge | Waylan Limberg | 2010-02-12 | 10 | -107/+0 |
| | |||||
* | Merged tests branch | Waylan Limberg | 2010-02-12 | 214 | -8657/+0 |
|\ | |||||
| * | Moves tests to a subdir of the markdown lib. | Waylan Limberg | 2009-06-05 | 226 | -9100/+0 |
| | | |||||
| * | Initial implementation of nose testing. Still some cleanup to do, but this ↵ | Waylan Limberg | 2009-06-05 | 22 | -27/+513 |
| | | | | | | | | shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like. | ||||
* | | Added processing of markdown text within raw html to the 'extra' extension. ↵ | Waylan Limberg | 2010-01-03 | 2 | -0/+26 |
| | | | | | | | | Fixes Ticket 39. NOTE: I did not add a seperate extension which only adds this feature - it is only available as part of 'extra'. | ||||
* | | Cleanup and additional work on previous commit. NOTE: removed special ↵ | Waylan Limberg | 2010-01-03 | 3 | -4/+7 |
| | | | | | | | | treatment if raw <div>s with multiple line breaks - they no longer automagicly process their content as markdown. This matches other implementations. Finished rest of code for use by an extension - to be added later. | ||||
* | | Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged ↵ | Waylan Limberg | 2010-01-03 | 2 | -0/+8 |
| | | | | | | | | | | | | now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser. Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension. | ||||
* | | Fixed ticket 44. Raw HTML now maintains original whitespace. Important ↵ | Waylan Limberg | 2010-01-03 | 2 | -0/+18 |
| | | | | | | | | inside raw <pre> tags. | ||||
* | | Added a test for previous comit from Steve Losh. Thanks Steve. Ticket 45 is ↵ | Waylan Limberg | 2009-12-26 | 2 | -0/+24 |
| | | | | | | | | fixed. | ||||
* | | Fixed Ticket 38. With smart_emphasis turned on, emphasised text can now be ↵ | Waylan Limberg | 2009-07-21 | 2 | -0/+14 |
| | | | | | | | | wrapped in punctuation without spaces and still will be converted to emphasis (ie: '[_foo_]'). Test included. Thanks for the report seanh. | ||||
* | | Fixed TOC extension to properly nest multiple header levels in the table of ↵ | Waylan Limberg | 2009-07-21 | 2 | -0/+25 |
| | | | | | | | | contents. Specificly, when stepping back multiple levels, the nestsed listed now follow suite. Test included. Thanks for the patch Jack Miller. | ||||
* | | Fixed ticket 35. Lists now work when padded with five or more spaces after ↵ | Waylan Limberg | 2009-06-17 | 2 | -0/+32 |
|/ | | | | asterisk. Adjusted regex to eat all (one or more) of the spaces. While it may seem wrong (at least in the loose list case), this is how all other implementations work. And it solves a number of edge cases otherwise not accounted for in the list parser. | ||||
* | Improved inline pattern regex for em & strong and added tests. Fixes Ticket ↵ | Waylan Limberg | 2009-03-30 | 2 | -0/+30 |
| | | | | 30 and other related issues. Note that I went with php's behavior rather than perl's when we have have three (ie.: *** or ___) without a closing three. | ||||
* | Fixed a few bugs in wikilinks url cleaning. And for those who don't like the ↵ | Waylan Limberg | 2009-03-20 | 1 | -0/+4 |
| | | | | default, added a config which accepts a callable to replace the default. Updated tests and docs. | ||||
* | Fixed bug in toc extension and added a test. We now disallow the marker in ↵ | Waylan Limberg | 2009-03-18 | 2 | -0/+15 |
| | | | | any headers (h1-6) as this crashes markdown with an infinite loop trying to build the toc. Thanks for the report Holger Rapp. | ||||
* | Added table elements to block elements so tables get prettified and updated ↵ | Waylan Limberg | 2009-03-11 | 1 | -6/+118 |
| | | | | tables extension test. | ||||
* | Replacement Tables extension. This one actually uses a known (PHP Extra) ↵ | Waylan Limberg | 2009-03-11 | 2 | -24/+36 |
| | | | | syntax and is implemented as a blockprocessor. Currently, Markdown doesn't see table elements as block elements, so it doesn't get prettified. | ||||
* | Fixed bug in tables extension (ticket 24). This extension could still use a ↵ | Waylan Limberg | 2009-03-09 | 2 | -2/+2 |
| | | | | major refactor, but it at least works as documented. | ||||
* | Completed nested lists and added a test. All tests pass. | Waylan Limberg | 2009-02-04 | 2 | -0/+63 |
| |