[Bug 3990] New: hgweb renders the first tab in a line of a file incorrectly
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Fri Jul 19 12:08:41 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=3990
Priority: normal
Bug ID: 3990
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hgweb renders the first tab in a line of a file
incorrectly
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: etobis at gmail.com
Hardware: PC
Status: UNCONFIRMED
Version: 2.6
Component: hgweb
Product: Mercurial
If I run this
$ echo -e "no tabs\n\tone tab\n eight spaces\n\t one tab, four
spaces\n\t\ttwo tabs\n sixteen spaces\n\t\t\tthree tabs" > file
$ hg init
$ hg add file
$ hg commit -m committed
$ hg serve
then the first tab in the lines that contain tabs only skips two spaces. I
understand this is related to the way line numbers are generated. This renders
code that looks aligned in a terminal in a funny way.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list