| Title | Table of contents wraps headings in A tag so not allowing control of previous A in heading |
| Date | 04-May-2005 21:10:42 EEST |
| Version | JSPWiki v2.2.7-beta |
| Submitter | 83.67.46.98 |
| Bug criticality | JSPWiki:LightBug![]() |
| Browser version | |
| Bug status | ClosedBug |
| PageProvider used | |
| Servlet Container | |
| Operating System | |
| URL | |
| Java version |
I had this...
Heading 3 with SomeLink
...with a Table of contents tag at the top of the page.
which resulted in this ...
<h2><a name="section-SandBox-Heading3WithSomeLink"> Heading 3 with <a class="wikipage" href="Wiki.jsp?page=SomeLink">SomeLink</a></a></h2>
so for some reason I can't change the color of the SomeLink text indepentantly from the other heading text, because it all seems to be in an a tag, because of the TOC stuff, which defines like
<h2><a name="section-SandBox-Heading3WithSomeLink"> Heading 3 with <a class="wikipage" href="Wiki.jsp?page=SomeLink">SomeLink</a></a></h2>
Rather than
<h2><a name="section-SandBox-Heading3WithSomeLink"/> Heading 3 with <a class="wikipage" href="Wiki.jsp?page=SomeLink">SomeLink</a></h2>
...so the SomeLink inherits the h2 a color
Should be fixed in 2.2.18.
