summary refs log tree commit diff
path: root/search.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 /search.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 'search.c')
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index 88c59a8..878e0f7 100644
--- a/search.c
+++ b/search.c
@@ -58,7 +58,7 @@ enum kcgi_err searchPage(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.query)
 		|| htmlNav(&html, scope)
 		|| khtml_elem(&html, KELEM_TABLE);