Use do-html-string-sending in do-html-sending
This commit is contained in:
parent
bd6a537197
commit
69ea6ae13f
|
@ -32,8 +32,9 @@
|
||||||
|
|
||||||
;; Helping functions
|
;; Helping functions
|
||||||
(define (do-html-sending sender html-tree)
|
(define (do-html-sending sender html-tree)
|
||||||
(sender (make-usual-html-response
|
(do-html-string-sending
|
||||||
(sxml->string html-tree surflet-sxml-rules))))
|
sender
|
||||||
|
(sxml->string html-tree surflet-sxml-rules)))
|
||||||
|
|
||||||
(define (do-html-string-sending sender html-string)
|
(define (do-html-string-sending sender html-string)
|
||||||
(sender (make-usual-html-response html-string)))
|
(sender (make-usual-html-response html-string)))
|
||||||
|
|
Loading…
Reference in New Issue