id	summary	reporter	owner	description	type	status	priority	milestone	version	resolution	keywords	cc
163	Hyperlinked identifiers in headings are not rendered correctly in contents table	mitar		"Hyperlinked identifiers in headings are not rendered correctly in contents table In Firefox 3.6.12 and Safari 5.0.2. For example if I have a heading:

{{{
-- * My heading with 'Element's
}}}

this is rendered with `Element` being a link to `Element` documentation, `My heading with ` link to the heading, but `s` at the end is not a link to the heading anymore. HTML is like:

{{{
<li><a href=""#g:4"">My heading with <code><a href=""Element.html#t:Element"">Element</a></code>s</a></li>
}}}

But internally Firefox (Firebug) sees it as:

{{{
<li><a href=""#g:4"">My heading with <code></code></a><a href=""Element.html#t:Element"">Element</a>s
</li>
}}}"	defect	closed	major		2.8.0	worksforme		mmitar@…
