You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not work because there is simply no anchor at all.
<h3 id="code-cache-code-elements”>
<a class="anchor" href="#code-cache-code-elements"></a>
<code><cache></code> elements
</h3>
Here you only have an empty link.
I verified and the CSS works fine because the <a> element is moved 70px on top of the title, which is what is needed to make the fix work. The issue is that there is no name=“” attribute so that the browser can consider it as an anchor.
Just to confirm, I’ve replaced the above code by:
<h3>
<a class="anchor" name="code-cache-code-elements"></a>
<code><cache></code> elements
</h3>
And it worked fine :-)
So I don’t know if this empty link is the expected behavior, but if we really want it to be an anchor, then there is something to fix in the ehcache project perhaps ? I didn’t find where actually. I guess it is the way the asciidoc gets generated ?
See for example http://www.ehcache.org/documentation/3.0/xml.html#code-cache-code-elements
The text was updated successfully, but these errors were encountered: