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 /tests/markdown-test | |
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 'tests/markdown-test')
-rw-r--r-- | tests/markdown-test/benchmark.dat.tmp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tests/markdown-test/benchmark.dat.tmp b/tests/markdown-test/benchmark.dat.tmp index 4ab47cf..80b04cd 100644 --- a/tests/markdown-test/benchmark.dat.tmp +++ b/tests/markdown-test/benchmark.dat.tmp @@ -1,20 +1,20 @@ construction:0.000000:0.000000 -amps-and-angle-encoding:0.100000:0.000000 -auto-links:0.090000:0.000000 -backlash-escapes:0.350000:397312.000000 -blockquotes-with-dode-blocks:0.030000:0.000000 -hard-wrapped:0.030000:0.000000 -horizontal-rules:0.340000:-57344.000000 -inline-html-advanced:0.090000:0.000000 -inline-html-comments:0.120000:0.000000 -inline-html-simple:0.440000:0.000000 -links-inline:0.200000:0.000000 -links-reference:0.260000:0.000000 -literal-quotes:0.130000:0.000000 -markdown-documentation-basics:0.930000:991232.000000 -markdown-syntax:4.010000:2998272.000000 -nested-blockquotes:0.080000:0.000000 -ordered-and-unordered-list:0.530000:0.000000 -strong-and-em-together:0.110000:0.000000 -tabs:0.130000:0.000000 -tidyness:0.100000:0.000000 +amps-and-angle-encoding:0.030000:0.000000 +auto-links:0.030000:0.000000 +backlash-escapes:0.100000:131072.000000 +blockquotes-with-dode-blocks:0.010000:0.000000 +hard-wrapped:0.010000:0.000000 +horizontal-rules:0.080000:0.000000 +inline-html-advanced:0.030000:0.000000 +inline-html-comments:0.030000:0.000000 +inline-html-simple:0.100000:0.000000 +links-inline:0.050000:0.000000 +links-reference:0.070000:0.000000 +literal-quotes:0.030000:0.000000 +markdown-documentation-basics:0.340000:823296.000000 +markdown-syntax:1.620000:1568768.000000 +nested-blockquotes:0.050000:-110592.000000 +ordered-and-unordered-list:0.240000:-4096.000000 +strong-and-em-together:0.060000:0.000000 +tabs:0.060000:0.000000 +tidyness:0.060000:0.000000 |