git3html

git clone https://orangeshoelaces.net/git/git3html.git

c90bd93c79c6dfb715bddfadacb69fc32b78be81

Author: Vasilii Kolobkov on 01/15/2019

Committer: Vasilii Kolobkov on 01/15/2019

Put a css class on file line anchors

Stats

git3html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/git3html b/git3html
index f1f5bee..b94f1f0 100755
--- a/git3html
+++ b/git3html
@@ -279,7 +279,7 @@ textfile() (
 	n=0
 	g cat-file blob "$blob" | escape | awk -F '' '{
 		++n
-		printf "<a href=\"#l%d\">%4d</a> %s\n", n, n, $0
+		printf "<a href=\"#l%d\" class=\"linea\">%4d</a> %s\n", n, n, $0
 	}'
 	printf '</code></pre>\n'
 	footer