diff options
author | June McEnroe <june@causal.agency> | 2020-07-12 19:15:33 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-12 19:15:33 -0400 |
commit | 280f2002c6e5c9691fb569e4818c226cec260887 (patch) | |
tree | c5dca05b2c349f981c18f3fc69336cdd2a658329 /search.c | |
parent | Handle search query errors (diff) | |
download | scooper-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 '')
-rw-r--r-- | search.c | 2 |
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); |