aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic
Commit message (Collapse)AuthorAgeFilesLines
* No longer percent encode spaces in urls.Waylan Limberg2014-01-091-1/+1
| | | | | | | | | | | The current implementation was wrong as it also percent encoded query strings (which should be plus encoded) and calling urllib.quote on the path (and urllib.quote_plus on the query string) assumes the url is not already encoded. What if the document author pasted a url that was already encoded? She probably did not intend for `%20` to become `%2520`. Or did she? It is now clear to me why many implementation do nothing to urls. Just pass them though as-is. To bad if they are not valid HTML. HTML authors have to encodee their own urls, so I guess markdown authors have to as well.
* Fixed #152. Spaces in links are now escaped.Waylan Limberg2012-10-211-1/+1
|
* Fixed #78. Added support for two line link refs.Waylan Limberg2012-02-022-1/+7
| | | | | Also refactored the reference preprocessor to make this a little easier to implement. Regex does more now.
* Partial fix for issue introduced in fix for #59Waylan Limberg2012-01-192-1/+4
| | | | | Markdown markup inside angle bracktes now gets rendered properly in all cases except when safe_mode='escape'. Also added tests.
* Added greater-than as an escaped character. Apparently markdown.pl escapes ↵Waylan Limberg2011-08-272-0/+3
| | | | it even though it is not documented.
* Fixed #39. Refactored escaping so that it only escapes a predifined set of ↵Waylan Limberg2011-08-172-3/+0
| | | | chars (the set defined by JG in the syntax rules). All other backslashes are passed through unaltered by the parser. If extensions want to add to the escapable chars, they can append to the list at markdown.ESCAPED_CHARS.
* Added short reference links. No more hanging empty brackets on reference ↵Waylan Limberg2010-10-112-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 Limberg2010-10-112-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 59. Reference links now strip angle brackets from the url.Waylan Limberg2010-03-252-1/+11
|
* Moved test dir back out of markdown lib. We don't need to install the tests ↵Waylan Limberg2010-02-1243-0/+3183
| | | | in everyones site-packages. We just need to distrubute them in the tarball for people to run before installing etc.
* Moved some hanging test files around.Waylan Limberg2008-08-221-2/+0
|
* Added test casesYuri Takhteyev2007-03-251-0/+2