[issue896] using interhg (linking #nnn to our BTS) and gitweb messes up titles

Ondrej Certik mercurial-bugs at selenic.com
Tue Dec 25 16:20:43 CST 2007


New submission from Ondrej Certik <ondrej at certik.cz>:

Hi,

we implemented linking things like #123 to our BTS using interhg, but we also
use gitweb. It works, but if the #123 occurs in the first line of the log,
like here:

http://hg.sympy.org/sympy/rev/ea69d4f982f4

you can see, that the title looks like this:

Make sympify("_a") work (
#496)

instead of this:

Make sympify("_a") work (#496)

and that's because it's HTML source code is:

<a class="title" href="/sympy/raw-rev/ea69d4f982f4">Make sympify(&quot;_a&quot;)
work (<a href="http://www.sympy.org/issues/detail?id=496">#496</a>) <span
class="logtags"></span></a>

so the two nested "<a>" tags mess up things. Should this be fixed in interhg,
or gitweb? My bet is in gitweb (to remove any <a> links from all titles)

Ondrej

----------
messages: 4703
nosy: certik
priority: bug
status: unread
title: using interhg (linking #nnn to our BTS) and gitweb messes up titles

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue896>
____________________________________________________



More information about the Mercurial-devel mailing list