emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML and URL escaping functions


From: Aaron Maxwell
Subject: Re: HTML and URL escaping functions
Date: Tue, 15 Jun 2010 08:39:27 -0700
User-agent: KMail/1.9.9

On Sunday 13 June 2010 12:31:17 pm you wrote:
> About the HTML entities: I'm not sure how you implemented it, but e.g.
> sgml-mode.el has `sgml-char-names' (along with sgml-name-8bit-mode)
> and I'm pretty sure nxhtml has something for it as well. I don't know
> about the "URL quoting".

Thanks, wasn't familiar with that (it's actually named sgml-name-char). 

One difference I see is that sgml-name-char works on a single character, while 
html-escape-region finds all non-html-safe characters in a region, and 
escapes them.

I couldn't find anything in nxml, anyone know of a specific command or 
function?

Cheers,
Aaron

-- 
Aaron Maxwell
http://redsymbol.net/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]