| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
HRProcessor tried to access a member variable after recursively calling
itself. In certain situations HRProcessor will try to access its
member variable containing its match, but it will not be the same match
that call in the stack expected. This is easily fixed by storing the
match locally *before* doing any recursive work.
|
|
|
|
|
| |
This aims to escape code in a more expected fashion. This handles
when backticks are escaped and when the escapes before backticks are
escaped.
|
|
|
|
|
|
|
| |
Tables now handle escaped pipes when testing, in table borders, and in
the inline content. To achieve properly, a bug had to be fixed related
to appending escaped chars to the Markdown class. Now appended chars
only appear in the current instance. Lastly the first backtick in a
table can be escaped rounding out the last corner case.
|
|
|
| |
Related to #527.
|
|
|
| |
Extend the language regex to match things like 'C#' and 'VB.Net'.
|
| |
|
|
|
|
| |
At some point the logic of counting backticks and determining if they are odd or even was used to parse a row's text into cells. Unfortunately this approach broke expected code parsing logic in a table. We essentially traded one bug for another. This fixes table backtick handling and restores sane backtick logic while preserving existing fixes. (issue #449)
|
|
|
| |
Travis should checkout aspell-en (issue #521)
|
|
|
| |
add . before `codehilite` to generate a proper css output (to reference the codehilite class)
|
|
|
| |
should say `pygmentize` not `pygmetize` on line 50
|
|
|
|
| |
This fixes warnings with pycodestyle ≥ 2.1, see PyCQA/pycodestyle#400.
|
|
|
| |
Fixes #511. Thanks to @omiday for the report.
|
| |
|
| |
|
|
|
|
|
|
| |
`getiterator` has been deprecated since Python 2.7, when `iter` was added.
Fixes #499.
|
| |
|
|
|
|
| |
Related to #498.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix table alignment when seperator contains spaces
eg. seperator like "------ | :----- | :----: | -----: | ------"
* Update tests for table
* Delete the newline at the end of tables.html
|
| |\
| | |
| | | |
Fix image titles not following spec
|
| |/
| |
| |
| |
| | |
Don’t allow spaces in image links. This was also causing an issue
where any text following a space was treated as a title. Ref #484.
|
| |\
| | |
| | | |
Fix another issue with attribute lists (with multiple ‘=’ signs)
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
This will probably not result in the output intending by the author, but
the syntax would be incorrect so the author needs to edit the document
anyway. We just need to ensure the parser does not crash here. Fixes #498.
|
|/ |
|
| |
|
| |
|
|\
| |
| | |
edited setup docs for CodeHilite with Pygments
|
|/
|
| |
Improved the setup documentation when rendering Python code with Pygments and CodeHilite. Added a link to the Pygments CSS files and emphasized that not installing pygments does not cause an error message.
|
|\
| |
| | |
Convert readthedocs link for their .org -> .io migration for hosted projects
|
|/
|
|
|
|
|
|
| |
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
|
|
|
| |
Fixes #475.
|
|\
| |
| | |
README - add link to changelog
|
|/
|
|
| |
Fixes #474. Makes it a bit easier to find the changelog.
|
|\ |
|
| |\
| | |
| | | |
Support CodeHilite option use_pygments in fenced_code
|
| | | |
|
| |/ |
|
| |\
| | |
| | | |
Fix lazy ordered list example in documentation
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
The statement will never evaluate False, so its not needed.
Also, Unicode is not valid for PY3, so its better to not include it.
Fixes #470.
|
| |
|
|\
| |
| | |
Toc bug
|
| |
| |
| |
| | |
Removing items while iterating can result in wrong behavior. Refs #461.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
| |
|