Tcllib html module tiny suggestion

Liste des GroupesRevenir à cl tcl 
Sujet : Tcllib html module tiny suggestion
De : m.n.summerfield (at) *nospam* gmail.com (Mark Summerfield)
Groupes : comp.lang.tcl
Date : 12. Jun 2025, 11:15:52
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <102e9co$2k10k$1@dont-email.me>
User-Agent : Pan/0.154 (Izium; 517acf4)
I suggest adding an alias to the Tcllib html module for the 
html::html_entities function: html::escape

Or at the very least to change the docs to mention the word "escape"
which is what I think most people would search for, e.g., replacing:

    This command replaces all special characters in the string with their
HTML entities and returns the modified text.

with something like:

    This command performs HTML escaping. It returns a copy of the given
string with all HTML special characters replaced with their HTML entities
(e.g. "this & <that>" is returned as "this &amp; &lt;that&gt;").

Date Sujet#  Auteur
12 Jun 25 o Tcllib html module tiny suggestion1Mark Summerfield

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal