1. ms2ger
  2. Anolis

Commits

Geoffrey Sneddon  committed 55608d2

Fix tests after last commit.

  • Participants
  • Parent commits 4e44868
  • Branches default

Comments (0)

Files changed (5)

File tests/basic/toc-basic.html

View file
  • Ignore whitespace
 <!DOCTYPE html><head><meta charset=utf-8><h1>Foo</h1>
-<!--begin-toc--><ol class=toc><li><a href=#bar><span>1. </span>Bar</a></ol><!--end-toc--><h2 id=bar><span class=secno>1. </span>Bar</h2>
+<!--begin-toc--><ol class=toc><li><a href=#bar><span>1 </span>Bar</a></ol><!--end-toc--><h2 id=bar><span class=secno>1 </span>Bar</h2>

File tests/basic/toc-begin-end-content-garbage.html

View file
  • Ignore whitespace
 <!DOCTYPE html><head><meta charset=utf-8><h1>Foo</h1>
-<!--begin-toc--><ol class=toc><li><a href=#bar><span>1. </span>Bar</a></ol><!--end-toc-->
-<h2 id=bar><span class=secno>1. </span>Bar</h2>
+<!--begin-toc--><ol class=toc><li><a href=#bar><span>1 </span>Bar</a></ol><!--end-toc-->
+<h2 id=bar><span class=secno>1 </span>Bar</h2>

File tests/basic/toc-begin-end-content.html

View file
  • Ignore whitespace
 <!DOCTYPE html><head><meta charset=utf-8><h1>Foo</h1>
-<!--begin-toc--><ol class=toc><li><a href=#bar><span>1. </span>Bar</a></ol><!--end-toc-->
-<h2 id=bar><span class=secno>1. </span>Bar</h2>
+<!--begin-toc--><ol class=toc><li><a href=#bar><span>1 </span>Bar</a></ol><!--end-toc-->
+<h2 id=bar><span class=secno>1 </span>Bar</h2>

File tests/basic/toc-begin-end.html

View file
  • Ignore whitespace
 <!DOCTYPE html><head><meta charset=utf-8><h1>Foo</h1>
-<!--begin-toc--><ol class=toc><li><a href=#bar><span>1. </span>Bar</a></ol><!--end-toc-->
-<h2 id=bar><span class=secno>1. </span>Bar</h2>
+<!--begin-toc--><ol class=toc><li><a href=#bar><span>1 </span>Bar</a></ol><!--end-toc-->
+<h2 id=bar><span class=secno>1 </span>Bar</h2>

File tests/basic/toc-remove-a.html

View file
  • Ignore whitespace
 <!DOCTYPE html><head><meta charset=utf-8><h1>Foo</h1>
-<!--begin-toc--><ol class=toc><li><a href=#bar><span>1. </span>Bar</a></ol><!--end-toc--><h2 id=bar><span class=secno>1. </span>B<a>a</a>r</h2>
+<!--begin-toc--><ol class=toc><li><a href=#bar><span>1 </span>Bar</a></ol><!--end-toc--><h2 id=bar><span class=secno>1 </span>B<a>a</a>r</h2>