#lang racket/base (require racket/dict racket/function racket/match racket/string "pure-utils.rkt" "url-utils.rkt" "xexpr-utils.rkt") (provide preprocess-html-wiki update-tree-wiki) (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 "
  • " and the xexpr parser puts the
  • much further up the tree ; add a