summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/hi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 59e6d467..49cdecad 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -36,8 +36,6 @@ enum Class {
 	ClassCount,
 };
 
-enum { SubsLen = 8 };
-
 struct Syntax {
 	enum Class class;
 	size_t subexp;
@@ -79,6 +77,7 @@ static regex_t compile(const char *pattern, int flags) {
 	errx(EX_SOFTWARE, "regcomp: %s: %s", buf, pattern);
 }
 
+enum { SubsLen = 8 };
 static void highlight(struct Language lang, enum Class *hi, const char *str) {
 	for (size_t i = 0; i < lang.len; ++i) {
 		struct Syntax syn = lang.syntax[i];
@@ -148,7 +147,7 @@ static void ansiOutput(enum Class class, const char *str, size_t len) {
 
 static void htmlHeader(const char *path) {
 	(void)path;
-	printf("<pre>");
+	printf("<pre class=\"hi\">");
 }
 static void htmlFooter(const char *path) {
 	(void)path;
f='/src/commit/www/causal.agency/index.html.in?id=4f9d14f7d10c4d77c6bc7e54d43550e96a690e9c&follow=1'>Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe