suppress pretty newline

pull/160/head
Matthew Butterick 7 years ago
parent 502ff743e1
commit 302bf74af1

@ -13,7 +13,8 @@
(if (memq parser-mode (list default-mode-preproc default-mode-template)) (if (memq parser-mode (list default-mode-preproc default-mode-template))
(display doc) (display doc)
;; OK to use dynamic-require because runtime-config itself is dynamic-required ;; OK to use dynamic-require because runtime-config itself is dynamic-required
(pretty-print (with-handlers ([exn:fail? (λ (exn) ((error '|pollen markup error| (pretty-print #:newline? #f
(with-handlers ([exn:fail? (λ (exn) ((error '|pollen markup error|
((dynamic-require 'racket/string 'string-join) (cdr ((dynamic-require 'racket/string 'string-split) (exn-message exn) ": ")) ": "))))]) ((dynamic-require 'racket/string 'string-join) (cdr ((dynamic-require 'racket/string 'string-split) (exn-message exn) ": ")) ": "))))])
((dynamic-require 'txexpr/base 'validate-txexpr) doc))))))) ((dynamic-require 'txexpr/base 'validate-txexpr) doc)))))))

@ -1 +1 @@
1512066415 1512068265

Loading…
Cancel
Save