Introduction
Introduction Statistics Contact Development Disclaimer Help
tstagit: fix rendering of first TAB in file - stagit - static git page generator
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 394d90b7bb878b54173a08bfe31402ddd29a2a54
parent 99583eee62af43c0504bfc2aab6058b69a46313b
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 17 Apr 2017 13:39:05 +0200
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.
Diffstat:
M stagit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -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);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.