unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andy Wingo <wingo@pobox.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Any function in Emacs to unquote html's &quot; , &lt; , &gt; , &amp; etc
Date: Sun, 14 Nov 2010 22:04:58 +0100	[thread overview]
Message-ID: <m3r5en39c5.fsf@unquote.localdomain> (raw)
In-Reply-To: <AANLkTinxYarjeMebr02qM+2Xi_bXd8FX3sN2RjNuWO18@mail.gmail.com> (Lennart Borgman's message of "Sat, 30 Oct 2010 23:29:26 +0200")

On Sat 30 Oct 2010 23:29, Lennart Borgman <lennart.borgman@gmail.com> writes:

> Is there any function in Emacs to do this?
> Should there be one?

It's bad business if your XML / HTML parser doesn't do this for you as
it parses.

 <foo bar="&quot;/&gt;&lt;baz qux=&quot;"/>
 -> <foo bar=""/><baz qux=""/>

Oops...

Andy
-- 
http://wingolog.org/



      parent reply	other threads:[~2010-11-14 21:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-30 21:29 Any function in Emacs to unquote html's &quot; , &lt; , &gt; , &amp; etc Lennart Borgman
2010-10-30 21:56 ` Lars Magne Ingebrigtsen
2010-10-30 22:07   ` Lennart Borgman
2010-11-14 21:04 ` Andy Wingo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r5en39c5.fsf@unquote.localdomain \
    --to=wingo@pobox.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).