jirutka / asciidoctor-html5s

Semantic HTML5 converter (backend) for Asciidoctor
MIT License
88 stars 10 forks source link

Duplicated footnotes in table #14

Closed 747 closed 4 years ago

747 commented 4 years ago

Hi, I find this library far much better than the vanilla Asciidoctor for outputting HTML, but it seems there's a little problem.

When you use a recyclable footnote inside table, the original footnote and the copied footnotes always get different numbers.

test.ad:

|===

|cellfootnote:intable[footnote!]

|cellfootnote:intable[]
|===

paragraphfootnote:notintable[footnote?]

another paragraphfootnote:notintable[]
asciidoctor -r asciidoctor-html5s -b html5s test.ad

output via html5s

While,

asciidoctor -b html5 test.ad

output vanilla