url-insert-entities-in-string

url-insert-entities-in-string is an autoloaded compiled Lisp function in `url-util.el'.

(url-insert-entities-in-string STRING)

Convert HTML markup-start characters to entity references in STRING.
Also replaces the " character, so that the result may be safely used as
an attribute value in a tag. Returns a new string with the result of the
conversion. Replaces these characters as follows:
& ==> &
< ==> <
> ==> >
" ==> "