summary refs log tree commit diff
path: root/events.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-12 19:15:33 -0400
committerJune McEnroe <june@causal.agency>2020-07-12 19:15:33 -0400
commit280f2002c6e5c9691fb569e4818c226cec260887 (patch)
treec5dca05b2c349f981c18f3fc69336cdd2a658329 /events.c
parentHandle search query errors (diff)
downloadscooper-280f2002c6e5c9691fb569e4818c226cec260887.tar.gz
scooper-280f2002c6e5c9691fb569e4818c226cec260887.zip
Don't use KHTML_PRETTY
It's kinda of unpredictable and can lead to unintended whitespace.
Diffstat (limited to 'events.c')
-rw-r--r--events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/events.c b/events.c
index bdeb3f6..a8c2be0 100644
--- a/events.c
+++ b/events.c
@@ -152,7 +152,7 @@ enum kcgi_err eventsPage(struct kreq *req) {
 	struct khtmlreq html;
 	error = error
 		|| khttp_body(req)
-		|| khtml_open(&html, req, KHTML_PRETTY)
+		|| khtml_open(&html, req, 0)
 		|| htmlHead(&html, scope.context)
 		|| htmlNav(&html, scope)
 		|| dateForm(&html, scope, time)