[cl-wiki-devel] Encoding question and a patch

Ian Clelland clelland at gmail.com
Wed Sep 7 18:47:19 UTC 2005


On 9/7/05, Stefan Scholl <sscholl at common-lisp.net> wrote:
> I'm setting it in INIT
> 
>         *escape-char-p* #'(lambda (c) (find c "<>&"))
> 
> Now it's possible to use the symbol ESC with CL-WHO like
> intended.

So, at this point, is there any difference at all between
#'escape-for-html in cl-wiki and #'escape-string in cl-who?

As far as I can tell, they do exactly the same thing (though in
slightly different ways). #'escape-string is a bit more flexible, but
is about 45% slower on my test machine. It seems a bit odd to have
both of these functions available now, just to call one at display
time and the other at edit time.

Regards,
Ian Clelland
<clelland at gmail.com>



More information about the Cl-wiki-devel mailing list