diff options
author | Waylan Limberg <waylan@gmail.com> | 2007-11-29 17:18:33 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2007-11-29 17:18:33 +0000 |
commit | 9f8372ece0b824e2038a7b728064ae454283db68 (patch) | |
tree | 8bbc4f1fc58636beb828f4ff2ad51745de413242 /test-markdown.py | |
parent | 991ea1682465bd6f3e41e1d22fc541f41dd78c5e (diff) | |
download | markdown-9f8372ece0b824e2038a7b728064ae454283db68.tar.gz markdown-9f8372ece0b824e2038a7b728064ae454283db68.tar.bz2 markdown-9f8372ece0b824e2038a7b728064ae454283db68.zip |
Footnotes that end in anyting but a <p> (list, blockquote, codeblock) now have
the backlink in a <p> which is appended to the end of the footnote.
Fixes [1831600]
Also fixed multiparagraph footnotes so that the first paragraph is actually
wrapped in a <p> element. This results in one-liners also wrapped in <p>
elements, but this is inline with PHP Markdown Extra's behavior. That means
the test for `node.type == "text"` should never get a match, but I'm leaving
it in for now.
Also added some tests, although they are not properly included in a test
directory for use with the testing framework. Seeing the framework currently
ignores extensions, we'll worry about that later.
Diffstat (limited to 'test-markdown.py')
0 files changed, 0 insertions, 0 deletions