Handling raw numbers in sxml format.

This commit is contained in:
Alex Shinn 2013-06-04 06:14:46 +09:00
parent b4dc6f994b
commit 3704289138

View file

@ -52,8 +52,9 @@
(apply string-append (reverse (cons ">" res)))
(lp (cdr ls) (cons (html-attr->string (car ls)) (cons " " res))))))
(define (html-display-escaped-string str . o)
(let ((start 0)
(define (html-display-escaped-string x . o)
(let* ((str (display-to-string x))
(start 0)
(end (string-length str))
(out (if (pair? o) (car o) (current-output-port))))
(let lp ((from start) (to start))