diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-05-30 19:46:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-05-30 19:46:40 -0700 |
commit | 73e9aa23746b56d4921511c55b8b595b7609e21f (patch) | |
tree | b942900642b5ac9d521dd057d3e4eb16832be911 | |
parent | 5170cb3fc64501655432452520c8d30a224c47bc (diff) | |
download | tl-who-73e9aa23746b56d4921511c55b8b595b7609e21f.tar.gz tl-who-73e9aa23746b56d4921511c55b8b595b7609e21f.tar.bz2 tl-who-73e9aa23746b56d4921511c55b8b595b7609e21f.zip |
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.
-rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. |