resolves #221 honor toc2 attribute