> What do think about this being a <section> instead of a <span>? If not, maybe a <div>?

In the original PR it was a `<div>`. However the div is a block element and would change the appearance in some cases. That's why I used the span so it sure doesn't break any layout. One would have to test it especially together with pagebreaks (the `$this->item->toc` stuff).
I'd have to test how `<section>` behaves, I think I never used it so far :smile: