aboutsummaryrefslogtreecommitdiff
path: root/tests/s5.fancy.html
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-04-25 00:29:58 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-04-25 00:29:58 +0000
commitdf5244fd486c20fa6125d371898c211906eed58b (patch)
tree2b60080ad021b62be57a367bf0c432fa8e025349 /tests/s5.fancy.html
parent2ab7640df663ece8dcf4cd68d36b92a3c45558a4 (diff)
downloadpandoc-df5244fd486c20fa6125d371898c211906eed58b.tar.gz
HTML writer: wrap sections in divs. Resolves Issue #70.
+ hierarchicalize has been rationalized; it builds a hierarchical representation of the document from the headers, and simultaneously gives each section a unique identifier based on the heading title. + Identifiers are now attached to the divs rather than to the headers themselves. + Table of content backlinks go to the beginning of the table, rather than to the section reference that was clicked. This seems better. + Code for constructing identifiers has been moved to Text.Pandoc.Shared from the HTML writer, since it is now consumed only by hierarchicalize. + In --strict mode, pandoc just prints bare headings, as before (unless --toc has been specified). + In s5 output, it does not wrap sections in divs, as that seems to confuse the s5 javascript. + Test suite updated accordingly. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1562 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/s5.fancy.html')
-rw-r--r--tests/s5.fancy.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/s5.fancy.html b/tests/s5.fancy.html
index 01f5c9e7f..9b82feb35 100644
--- a/tests/s5.fancy.html
+++ b/tests/s5.fancy.html
@@ -484,24 +484,24 @@ window.onload=startup;window.onresize=function(){setTimeout('fontScale()',50);}
<div id="currentSlide"></div>
<div id="header"></div>
<div id="footer">
-<h1 id="july-15-2006"
+<h1
>July 15, 2006</h1
- ><h2 id="my-s5-document"
+ ><h2
>My S5 Document</h2
></div>
</div>
<div class="presentation">
<div class="slide">
-<h1 id="my-s5-document-1"
+<h1
>My S5 Document</h1
- ><h3 id="sam-smith-jen-jones"
+ ><h3
>Sam Smith, Jen Jones</h3
- ><h4 id="july-15-2006-1"
+ ><h4
>July 15, 2006</h4
></div>
<div class="slide">
-<h1 id="first-slide"
+<h1
>First slide</h1
><ul class="incremental"
><li
@@ -511,7 +511,7 @@ window.onload=startup;window.onresize=function(){setTimeout('fontScale()',50);}
></ul
></div>
<div class="slide">
-<h1 id="math"
+<h1
>Math</h1
><ul class="incremental"
><li