git.iko.soy/typeable/pandoc
on master help sign in
Updated tests to account for changes in HTML writer (identifiers).

git-svn-id: https://pandoc.googlecode.com/svn/trunk@641 788f1e2b-df1e-0410-8736-df70ead52e1b

commit766dbb9899b037b8ec1294a1fb32a08a09adf004 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 8 Jul 2007, 03:09 (19 years ago) parenta414ec9
5 files changed+48−48
tests/s5.basic.html+7−7 tests/s5.fancy.html+7−7 tests/s5.fragment.html+2−2 tests/s5.inserts.html+2−2 tests/writer.html+30−30
tests/s5.basic.html+7−7
@@ -749,24 +749,24 @@ window.onresize = function(){setTimeout('fontScale()', 50);}</script>
749749<div id="currentSlide"></div>
750750<div id="header"></div>
751751<div id="footer">
752−<h1
752+<h1 id="July 15, 2006"
753753 >July 15, 2006</h1
754− ><h2
754+ ><h2 id="My_S5_Document"
755755 >My S5 Document</h2
756756 ></div>
757757</div>
758758<div class="presentation">
759759
760760<div class="slide">
761−<h1
761+<h1 id="My_S5_Document-1"
762762 >My S5 Document</h1
763− ><h3
763+ ><h3 id="Sam Smith, Jen Jones"
764764 >Sam Smith, Jen Jones</h3
765− ><h4
765+ ><h4 id="July 15, 2006-1"
766766 >July 15, 2006</h4
767767 ></div>
768768<div class="slide">
769−<h1
769+<h1 id="First_slide"
770770 >First slide</h1
771771 ><ul
772772 ><li
@@ -776,7 +776,7 @@ window.onresize = function(){setTimeout('fontScale()', 50);}</script>
776776 ></ul
777777 ></div>
778778<div class="slide">
779−<h1
779+<h1 id="Math"
780780 >Math</h1
781781 ><ul
782782 ><li
tests/s5.fancy.html+7−7
@@ -1661,24 +1661,24 @@ else
16611661<div id="currentSlide"></div>
16621662<div id="header"></div>
16631663<div id="footer">
1664−<h1
1664+<h1 id="July 15, 2006"
16651665 >July 15, 2006</h1
1666− ><h2
1666+ ><h2 id="My_S5_Document"
16671667 >My S5 Document</h2
16681668 ></div>
16691669</div>
16701670<div class="presentation">
16711671
16721672<div class="slide">
1673−<h1
1673+<h1 id="My_S5_Document-1"
16741674 >My S5 Document</h1
1675− ><h3
1675+ ><h3 id="Sam Smith, Jen Jones"
16761676 >Sam Smith, Jen Jones</h3
1677− ><h4
1677+ ><h4 id="July 15, 2006-1"
16781678 >July 15, 2006</h4
16791679 ></div>
16801680<div class="slide">
1681−<h1
1681+<h1 id="First_slide"
16821682 >First slide</h1
16831683 ><ul class="incremental"
16841684 ><li
@@ -1688,7 +1688,7 @@ else
16881688 ></ul
16891689 ></div>
16901690<div class="slide">
1691−<h1
1691+<h1 id="Math"
16921692 >Math</h1
16931693 ><ul class="incremental"
16941694 ><li
tests/s5.fragment.html+2−2
@@ -1,4 +1,4 @@
1−<h1
1+<h1 id="First_slide"
22>First slide</h1
33><ul
44><li
@@ -6,7 +6,7 @@
66 ><li
77 >second bullet</li
88 ></ul
9−><h1
9+><h1 id="Math"
1010>Math</h1
1111><ul
1212><li
tests/s5.inserts.html+2−2
@@ -15,7 +15,7 @@ STUFF INSERTED
1515 >STUFF INSERTED
1616<h1 class="title"
1717 >My S5 Document</h1
18− ><h1
18+ ><h1 id="First_slide"
1919 >First slide</h1
2020 ><ul
2121 ><li
@@ -23,7 +23,7 @@ STUFF INSERTED
2323 ><li
2424 >second bullet</li
2525 ></ul
26− ><h1
26+ ><h1 id="Math"
2727 >Math</h1
2828 ><ul
2929 ><li
tests/writer.html+30−30
@@ -15,36 +15,36 @@
1515 ><p
1616 >This is a set of tests for pandoc. Most of them are adapted from John Gruber&rsquo;s markdown test suite.</p
1717 ><hr
18− /><h1
18+ /><h1 id="Headers"
1919 >Headers</h1
20− ><h2
20+ ><h2 id="Level_2_with_an_embedded_link"
2121 >Level 2 with an <a href="/url"
2222 >embedded link</a
2323 ></h2
24− ><h3
24+ ><h3 id="Level_3_with_emphasis"
2525 >Level 3 with <em
2626 >emphasis</em
2727 ></h3
28− ><h4
28+ ><h4 id="Level_4"
2929 >Level 4</h4
30− ><h5
30+ ><h5 id="Level_5"
3131 >Level 5</h5
32− ><h1
32+ ><h1 id="Level_1"
3333 >Level 1</h1
34− ><h2
34+ ><h2 id="Level_2_with_emphasis"
3535 >Level 2 with <em
3636 >emphasis</em
3737 ></h2
38− ><h3
38+ ><h3 id="Level_3"
3939 >Level 3</h3
4040 ><p
4141 >with no blank line</p
42− ><h2
42+ ><h2 id="Level_2"
4343 >Level 2</h2
4444 ><p
4545 >with no blank line</p
4646 ><hr
47− /><h1
47+ /><h1 id="Paragraphs"
4848 >Paragraphs</h1
4949 ><p
5050 >Here&rsquo;s a regular paragraph.</p
@@ -56,7 +56,7 @@
5656 >There should be a hard line break<br
5757 />here.</p
5858 ><hr
59− /><h1
59+ /><h1 id="Block_Quotes"
6060 >Block Quotes</h1
6161 ><p
6262 >E-mail style:</p
@@ -129,7 +129,7 @@
129129 ><p
130130 >And a following paragraph.</p
131131 ><hr
132− /><h1
132+ /><h1 id="Code_Blocks"
133133 >Code Blocks</h1
134134 ><p
135135 >Code:</p
@@ -154,9 +154,9 @@ These should not be escaped: \$ \\ \&gt; \[ \{
154154</code
155155 ></pre
156156 ><hr
157− /><h1
157+ /><h1 id="Lists"
158158 >Lists</h1
159− ><h2
159+ ><h2 id="Unordered"
160160 >Unordered</h2
161161 ><p
162162 >Asterisks tight:</p
@@ -236,7 +236,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
236236 >Minus 3</p
237237 ></li
238238 ></ul
239− ><h2
239+ ><h2 id="Ordered"
240240 >Ordered</h2
241241 ><p
242242 >Tight:</p
@@ -308,7 +308,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
308308 >Item 3.</p
309309 ></li
310310 ></ol
311− ><h2
311+ ><h2 id="Nested"
312312 >Nested</h2
313313 ><ul
314314 ><li
@@ -364,7 +364,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
364364 >Third</p
365365 ></li
366366 ></ol
367− ><h2
367+ ><h2 id="Tabs_and_spaces"
368368 >Tabs and spaces</h2
369369 ><ul
370370 ><li
@@ -387,7 +387,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
387387 ></li
388388 ></ul
389389 ><hr
390− /><h1
390+ /><h1 id="Definition_Lists"
391391 >Definition Lists</h1
392392 ><p
393393 >Tight using spaces:</p
@@ -474,7 +474,7 @@ These should not be escaped: \$ \\ \&gt; \[ \{
474474 ></blockquote
475475 ></dd
476476 ></dl
477− ><h1
477+ ><h1 id="HTML_Blocks"
478478 >HTML Blocks</h1
479479 ><p
480480 >Simple block on one line:</p
@@ -579,7 +579,7 @@ Blah
579579
580580<hr class="foo" id="bar">
581581<hr
582− /><h1
582+ /><h1 id="Inline_Markup"
583583 >Inline Markup</h1
584584 ><p
585585 >This is <em
@@ -636,7 +636,7 @@ Blah
636636 >&lt;html&gt;</code
637637 >.</p
638638 ><hr
639− /><h1
639+ /><h1 id="Smart_quotes,_ellipses,_dashes"
640640 >Smart quotes, ellipses, dashes</h1
641641 ><p
642642 >&ldquo;Hello,&rdquo; said the spider. &ldquo;&lsquo;Shelob&rsquo; is my name.&rdquo;</p
@@ -659,7 +659,7 @@ Blah
659659 ><p
660660 >Ellipses&hellip;and&hellip;and&hellip;.</p
661661 ><hr
662− /><h1
662+ /><h1 id="LaTeX"
663663 >LaTeX</h1
664664 ><ul
665665 ><li
@@ -708,7 +708,7 @@ Dog &amp; 2 \\
708708Cat &amp; 1 \\ \hline
709709\end{tabular}</p
710710 ><hr
711− /><h1
711+ /><h1 id="Special_Characters"
712712 >Special Characters</h1
713713 ><p
714714 >Here is some unicode:</p
@@ -767,9 +767,9 @@ Cat &amp; 1 \\ \hline
767767 ><p
768768 >Minus: -</p
769769 ><hr
770− /><h1
770+ /><h1 id="Links"
771771 >Links</h1
772− ><h2
772+ ><h2 id="Explicit"
773773 >Explicit</h2
774774 ><p
775775 >Just a <a href="/url/"
@@ -814,7 +814,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
814814 ><a href=""
815815 >Empty</a
816816 >.</p
817− ><h2
817+ ><h2 id="Reference"
818818 >Reference</h2
819819 ><p
820820 >Foo <a href="/url/"
@@ -863,7 +863,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
863863 >Foo <a href="/url/" title="Title with &quot;quote&quot; inside"
864864 >biz</a
865865 >.</p
866− ><h2
866+ ><h2 id="With_ampersands"
867867 >With ampersands</h2
868868 ><p
869869 >Here&rsquo;s a <a href="http://example.com/?foo=1&amp;bar=2"
@@ -881,7 +881,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
881881 >Here&rsquo;s an <a href="/script?foo=1&amp;bar=2"
882882 >inline link in pointy braces</a
883883 >.</p
884− ><h2
884+ ><h2 id="Autolinks"
885885 >Autolinks</h2
886886 ><p
887887 >With an ampersand: <a href="http://example.com/?foo=1&amp;bar=2"
@@ -924,7 +924,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
924924</code
925925 ></pre
926926 ><hr
927− /><h1
927+ /><h1 id="Images"
928928 >Images</h1
929929 ><p
930930 >From &ldquo;Voyage dans la Lune&rdquo; by Georges Melies (1902):</p
@@ -935,7 +935,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
935935 >Here is a movie <img src="movie.jpg" title="" alt="movie"
936936 /> icon.</p
937937 ><hr
938− /><h1
938+ /><h1 id="Footnotes"
939939 >Footnotes</h1
940940 ><p
941941 >Here is a footnote reference,<a href="#fn1" class="footnoteRef" id="fnref1"