ad_quotehtml

one of the documented procedures in this installation of the ACS
Usage:
ad_quotehtml   arg
What it does:
Quotes ampersands, double-quotes, and angle brackets in $arg. Analogous to ns_quotehtml except that it quotes double-quotes (which ns_quotehtml does not).
Defined in: /web/philip/packages/acs-core/utilities-procs.tcl

Source code:


    # we have to do & first or we'll hose ourselves with the ones lower down
    regsub -all & $arg \\&amp\; arg
    regsub -all \" $arg \\&quot\; arg
    regsub -all < $arg \\&lt\; arg
    regsub -all > $arg \\&gt\; arg
    return $arg


philg@mit.edu