#lang racket/base (require racket/dict racket/function racket/list racket/match racket/string ; libs (prefix-in easy: net/http-easy) ; html libs html-parsing html-writing ; web server libs net/url web-server/http web-server/dispatchers/dispatch ; my libs "application-globals.rkt" "config.rkt" "data.rkt" "pure-utils.rkt" "syntax.rkt" "tree-updater.rkt" "xexpr-utils.rkt" "url-utils.rkt") (provide ; used by the web server page-wiki ; used by page-category, and similar pages that are partially wiki pages update-tree-wiki preprocess-html-wiki) (module+ test (require rackunit)) (define (preprocess-html-wiki html) (define ((rr* find replace) contents) (regexp-replace* find contents replace)) ((compose1 ; fix navbox list nesting ; navbox on right of page has incorrect html "
to \n \n