Commit 0fdb05b8 authored by amirouche's avatar amirouche

helpers: rename render-html to sxml->response

parent 3153de2b
......@@ -30,7 +30,8 @@
example: \"/foo/bar\" yields '(\"foo\" \"bar\")."
(split-and-decode-uri-path (uri-path (request-uri request))))
(define-public (render-html sxml)
(define-public (sxml->response sxml)
(values '((content-type . (text/html)))
(lambda (port)
(sxml->html sxml port))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment