From Mark Summerfield@m.n.summerfield@gmail.com to comp.lang.tcl on Thu Jun 12 10:15:52 2025
From Newsgroup: comp.lang.tcl
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 & <that>").
--- Synchronet 3.21a-Linux NewsLink 1.2