stagit: fix rendering of first TAB in file
else TABs wont render properly (interpreted as part of HTML whitespace) at the first TAB of the line.
This commit is contained in:
parent
99583eee62
commit
394d90b7bb
1 changed files with 1 additions and 1 deletions
2
stagit.c
2
stagit.c
|
@ -379,7 +379,7 @@ int
|
|||
writeblobhtml(FILE *fp, const git_blob *blob)
|
||||
{
|
||||
size_t n = 0, i, prev;
|
||||
const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%6d</a> ";
|
||||
const char *nfmt = "<a href=\"#l%d\" class=\"line\" id=\"l%d\">%6d</a> ";
|
||||
const char *s = git_blob_rawcontent(blob);
|
||||
git_off_t len = git_blob_rawsize(blob);
|
||||
|
||||
|
|
Loading…
Reference in a new issue