[PATCH] hgweb: render tabs to 8 spaces

Rocco Rutte pdmef at gmx.net
Wed May 13 03:25:57 CDT 2009


Hi,

* Matt Mackall wrote:
> On Tue, May 12, 2009 at 04:10:50PM +0200, Rocco Rutte wrote:

> > Digging further into this, it turns out that tabs make it to the
> > browser. They're rendered incorrect since changeset 7392:03b60f2f90bf
> > which changes to <div/> from <table/>. Now the line number is part of
> > the content, too, which is used for offset computation.

> Yeah, I thought I'd noticed something like that. Perhaps we should
> just make the line number column exactly eight characters?

It already is. Removing the space between the line number and line content
doesn't help either.

Rocco


More information about the Mercurial-devel mailing list