
greg
2018-1-21 14:38:34
I chuckled because when I see <quote>
I made a mistake quoting a symbolic entity in an x-expression, e.g.:
#lang racket/base
(require xml)
(xexpr->string '(p "yay" nbsp "yay")) ;=> "<p>yay&nbsp;yay</p>"
(xexpr->string '(p "boo" 'nbsp "boo")) ;=> "<p>boo<quote>&nbsp;</quote>boo</p>"
(The other ingredient is the Racket reader expands 'thing
to (quote thing)
.)

oldsin
2018-1-21 18:57:34
To be honest I made the same mistake before I post the question here X )