Support generated content in Safari
The table of contents demo doesn't seem to be working for Safari (Chrome seems to be fine).
I've managed to trace the issue to these lines: In Chrome counter-reset
is none
, but for some reason it's stuck at 0
in Safari. Also, Safari doesn't seem to be honoring the ::after
counter-reset
rule here, which results in a bunch of zeroes.