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

Stefan Scholl sscholl at common-lisp.net
Wed Sep 7 17:22:31 UTC 2005


On 2005-09-07 14:39:37, Stefan Scholl wrote:
> On 2005-09-07 08:58:19, Vehbi Sinan Tunalioglu wrote:
> > I just changed (esc content) to (str (escape-for-html content))
> 
> Hmm. It seems this could be fixed by setting CL-WHO's *ESCAPE-CHAR-P*
> to an other test function which then lets CL-WHO's ESCAPE-STRING
> behave like CL-WIKI's ESCAPE-FOR-HTML.

Yeah, right.

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.





More information about the Cl-wiki-devel mailing list