From 1c009e3e74d00264553084883aac802ac1369af1 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 4 Jun 2023 07:11:34 -0700 Subject: README: move section down. * README.md: Move down the section which reveals that the whole CL-WHO arsenal of differently flavored HTML escaping functions is missing. --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e482082..d266b6e 100644 --- a/README.md +++ b/README.md @@ -102,19 +102,6 @@ Here are the differences to be aware of: `*upcase-tokens-p*` variable is bound to `t`, then both will produce ``. -* All of the elaborate HTML escaping support featured in CL-WHO is - absent in TL-WHO. These symbols do not exist: `escape-string`, - `escape-char`, `*escape-char-p*`, `escape-string-minimal`, - `escape-string-minimal`, `escape-string-minimal-plus-quotes`, - `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 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`. - * TL-WHO fixes the issue that CL-WHO doesn't HTML-escape the values of of constant string material, of attributes, and of material added by local macro `fmt`. @@ -170,6 +157,19 @@ Here are the differences to be aware of: a mess of the output if used; unlike CL-WHO, TL-WHO warns when they are used in attributes. +* The elaborate manual HTML escaping support featured in CL-WHO is + absent in TL-WHO. These symbols do not exist: `escape-string`, + `escape-char`, `*escape-char-p*`, `escape-string-minimal`, + `escape-string-minimal`, `escape-string-minimal-plus-quotes`, + `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 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`. + * TL-WHO provides a `deftag` macro for defining macro-expanding tags. This is inspired by a `deftag` described in the [Spinneret](https://github.com/ruricolist/spinneret) documentation. -- cgit v1.2.3