| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Fixes #300. When a python module (.../__init__.py) is imported by `__import__`
and the `from_list` argument is a unicode string (as is returned by
rpartition), then an error is raised in Python 2.7. Force conversion to default
string type (byte in 2.7 and unicode in 3) to avoid the error.
For a full explaination, see issue
[300](https://github.com/waylan/Python-Markdown/issues/300).
|
| |
|
|\
| |
| | |
Fix issue308 and fix (unrelated) failure to break out of nest loop.
|
|/ |
|
|
|
| |
I can't make out what this PHP test is trying to accomplish. From my point of view, our output is fine. So we skip this test.
|
| |
|
|\
| |
| | |
Emphasized proper use of reset method in docs.
|
|/
|
|
| |
This is related to waylan/Python-Markdown#305.
|
|
|
| |
Using shields.io for generating badges.
|
|
|
| |
Add install of libtidy dependancy. Forgot about that.
|
|
|
|
|
|
|
|
|
| |
Just uses the existing tox config as described in
<http://borntyping.com/posts/tox-and-travis-ci.html>.
This fixes #299. I took this route rather than @mitya57's
suggestion because we get better test coverage with tox's
config (more dependencies are installed) and I can't see
mirroring that here when we can just reuse it.
|
|\
| |
| | |
Smarty extension fixes
|
| | |
|
|/ |
|
|\
| |
| | |
Fix typo in reference.txt
|
|/ |
|
|\
| |
| | |
added nav-tag as block level element. Fixes #191. Thanks @Dav1dde
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
docs: improved documentation
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Simplified, unified style, added some undocumented options.
NOTE: Footnotes/UNIQUE_IDS stays mostly undocumented
|
|\
| |
| | |
Release Notes and a fix for Smarty
|
| |
| |
| |
| |
| |
| |
| |
| | |
The previous problem happened because canonicalize() removed the
space from closeClass regexp.
Instead of fixing the function, get rid of it completely. It should
also make module load a bit faster.
|
| | |
|
|/ |
|
|\
| |
| | |
Fix some tests failures
|
|/ |
|
|\
| |
| | |
typo
|
|/
|
| |
chaining calls, not changing calls
|
|\
| |
| | |
Pedantic edit in installation instructions
|
|/
|
| |
Fixed "you're"/"your" mixup. Sorry.
|
|
|
|
|
|
| |
This was limiting the parser to only 10,000 placeholders (0-9999) per document.
removing this limitation allows longer documents ot be parsered correctly.
Fixes #255.
|
|\ |
|
| |\
| | |
| | | |
tables and attr_list compatibility
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #257 and slightly alters comment parsing behavior.
Unlike self-closing tags, a comment can contain angle brackets between the
opening and closing tags. The greaterthan angle bracket at the end of the
first block should not be mistaken for closing the comment. Need to actually
check for a comment closing tag (`-->`). If one if not found, then the comment
keeps going (to the end of the document if nessecary) just like in HTML.
That last bit is a slight change from previous behavior, but should be
unsurprising as that's how broswers parse html comments. And as far as
I can tell, more implementations follow this behavior than any other. The
ones that don't seem to be all over the place.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Leave all other chars prefaced by a backslash alone. Fixes #242.
Not sure why I thought that I needed to add another backslash.
Thanks for the report and the test case @mhubig.
|
| |
| |
| |
| |
| | |
This mostly revolves around old APIs for ElementTree, but includes a few
others as well. Fixes #254. Thanks for the report.
|