w3c / wpub

W3C Web Publications
https://w3c.github.io/wpub/
Other
78 stars 19 forks source link

A.2 example 39: TOC ignored ex. Stray <a>, intentional? #381

Closed jccr closed 5 years ago

jccr commented 5 years ago

There are two stray <a> end tags in this example. Is this intentional?

https://w3c.github.io/wpub/#ex-39-a-table-of-contents-with-ignored-content

Here I added comments to point them out:

<nav role="doc-toc">
   <h2>Contents</h2>

   <ol>
      <li>
         <div class="title"><a href="c01.html">CHAPTER I</a></div>
         <div class="description">Biographical and Introductory.<!--Stray a tag? --></a></div>
      </li>
      <li>
         <div class="title"><a href="c02.html">CHAPTER II</a></div>
         <div class="description">A New System of Alternating Current Motors and Transformers.<!--Stray a tag? --></a></div>
      </li>
      …
   </ol>
</nav>
mattgarrish commented 5 years ago

Definitely typos. Will fix them in a minute.