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