Bug report: ESC applied to attribute values produces spurious output
Stas Boukarev
stassats at gmail.com
Tue Apr 30 18:47:53 UTC 2013
Ron Garret <ron at flownet.com> writes:
> ? (with-html-output-to-string (s) ((:a :href (esc "XXX")) (esc "YYY")))
> "<aXXX href='XXX'>YYY</a>"
>
> My actual use case is:
>
> (:a :onclick (esc "f('str')"))
>
> This is CL-WHO 1.1.1 acquired through quicklisp.
That's not a bug, the attributes don't need STR or ESC.
(with-html-output-to-string (s) ((:a :href (escape-string "XXX")) (esc "YYY")))
--
With best regards, Stas.
More information about the Cl-who-devel
mailing list