From 73e9aa23746b56d4921511c55b8b595b7609e21f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 30 May 2023 19:46:40 -0700 Subject: README: mention different escaping for attributes. * README.mt: Mention that html-encode* is used by esc and fmt, which leaves quotes alone. Attribute quoting uses html-escape which escapes quotes too. --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53f99c5..2cfa042 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,11 @@ Here are the differences to be aware of: `escape-string-iso-8859-1`, `escape-string-all`, `escape-char-minimal`, `escape-char-minimal-plus-quotes`, `escape-char-iso-8859-1` and `escape-char-all`. - TL-WHO uses the TXR Lisp standard function `html-encode`, - which has no options to control its behavior. + TL-WHO uses the TXR Lisp standard functions `html-encode`, + and `html-encode*`, which have no options to control its behavior. + `html-encode` is used internally for escaping material + to be inserted into attributes; `html-encode*` is used by `esc` + and `fmt`. * The CL-WHO `conc` function is missing. TXR Lisp has a function like this, which is called `join`, and that is what is used in TL-WHO. -- cgit v1.2.3