mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-15 17:07:34 +02:00
Handling raw numbers in sxml format.
This commit is contained in:
parent
b4dc6f994b
commit
3704289138
1 changed files with 5 additions and 4 deletions
|
@ -52,8 +52,9 @@
|
||||||
(apply string-append (reverse (cons ">" res)))
|
(apply string-append (reverse (cons ">" res)))
|
||||||
(lp (cdr ls) (cons (html-attr->string (car ls)) (cons " " res))))))
|
(lp (cdr ls) (cons (html-attr->string (car ls)) (cons " " res))))))
|
||||||
|
|
||||||
(define (html-display-escaped-string str . o)
|
(define (html-display-escaped-string x . o)
|
||||||
(let ((start 0)
|
(let* ((str (display-to-string x))
|
||||||
|
(start 0)
|
||||||
(end (string-length str))
|
(end (string-length str))
|
||||||
(out (if (pair? o) (car o) (current-output-port))))
|
(out (if (pair? o) (car o) (current-output-port))))
|
||||||
(let lp ((from start) (to start))
|
(let lp ((from start) (to start))
|
||||||
|
|
Loading…
Add table
Reference in a new issue