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/misc/benchmark.dat.tmp | |
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/misc/benchmark.dat.tmp')
-rw-r--r-- | tests/misc/benchmark.dat.tmp | 95 |
1 files changed, 51 insertions, 44 deletions
diff --git a/tests/misc/benchmark.dat.tmp b/tests/misc/benchmark.dat.tmp index b18e8d1..fabdd97 100644 --- a/tests/misc/benchmark.dat.tmp +++ b/tests/misc/benchmark.dat.tmp @@ -1,47 +1,54 @@ -construction:0.000000:0.000000 -adjacent-headers:0.030000:0.000000 -amp-in-url:0.020000:0.000000 -ampersand:0.020000:0.000000 -arabic:0.170000:135168.000000 -attributes2:0.040000:0.000000 -bidi:0.460000:217088.000000 +construction:0.000000:-24576.000000 +adjacent-headers:0.010000:0.000000 +amp-in-url:0.000000:0.000000 +ampersand:0.010000:0.000000 +arabic:0.030000:0.000000 +attributes2:0.010000:0.000000 +bidi:0.090000:-57344.000000 +blank:0.000000:0.000000 blank-block-quote:0.010000:0.000000 -br:0.050000:0.000000 -comments:0.030000:0.000000 -div:0.050000:0.000000 -email:0.050000:0.000000 -funky-list:0.080000:0.000000 +blockquote-hr:0.020000:0.000000 +br:0.030000:0.000000 +bracket_re:1.580000:0.000000 +code-first-line:0.000000:0.000000 +comments:0.020000:0.000000 +div:0.030000:0.000000 +email:0.030000:0.000000 +funky-list:0.050000:0.000000 h1:0.030000:0.000000 -hash:0.050000:0.000000 -headers:0.060000:0.000000 +hash:0.030000:0.000000 +headers:0.030000:0.000000 hline:0.010000:0.000000 -html:0.070000:0.000000 -image:0.030000:0.000000 -image-2:0.050000:0.000000 -image_in_links:0.030000:0.000000 -inside_html:0.030000:0.000000 -japanese:0.120000:0.000000 -lists:0.090000:0.000000 -lists2:0.030000:0.000000 -lists3:0.030000:0.000000 -lists4:0.030000:0.000000 -lists5:0.050000:0.000000 -markup-inside-p:0.060000:0.000000 -more_comments:0.030000:0.000000 -multi-line-tags:0.040000:0.000000 -multi-test:0.110000:0.000000 -multiline-comments:0.060000:0.000000 -normalize:0.040000:0.000000 -numeric-entity:0.050000:0.000000 -php:0.060000:0.000000 -pre:0.050000:0.000000 -russian:0.180000:-49152.000000 -some-test:0.180000:-28672.000000 -span:0.100000:0.000000 -stronintags:0.090000:0.000000 -tabs-in-lists:0.140000:0.000000 -two-spaces:0.070000:0.000000 -uche:0.090000:0.000000 -underscores:0.100000:0.000000 -url_spaces:0.080000:0.000000 -utfbom:0.050000:0.000000 +html:0.040000:0.000000 +image:0.010000:0.000000 +image-2:0.020000:0.000000 +image_in_links:0.010000:0.000000 +inside_html:0.010000:0.000000 +japanese:0.050000:0.000000 +lazy-block-quote:0.010000:0.000000 +lists:0.040000:0.000000 +lists2:0.020000:0.000000 +lists3:0.020000:0.000000 +lists4:0.020000:0.000000 +lists5:0.030000:0.000000 +markup-inside-p:0.020000:0.000000 +mismatched-tags:0.020000:0.000000 +more_comments:0.020000:0.000000 +multi-line-tags:0.030000:0.000000 +multi-paragraph-block-quote:0.020000:0.000000 +multi-test:0.050000:0.000000 +multiline-comments:0.030000:0.000000 +normalize:0.020000:0.000000 +numeric-entity:0.020000:0.000000 +php:0.030000:0.000000 +pre:0.030000:0.000000 +russian:0.070000:0.000000 +some-test:0.080000:0.000000 +span:0.050000:0.000000 +stronintags:0.040000:0.000000 +tabs-in-lists:0.060000:0.000000 +two-spaces:0.060000:0.000000 +uche:0.040000:0.000000 +underscores:0.050000:0.000000 +url_spaces:0.030000:0.000000 +utfbom:0.030000:0.000000 |