emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Ivan Vilata i Balaguer <ivan@selidor.net>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Re: [BUG] OrgTbl exports raw ampersands in HTML
Date: Wed, 13 Oct 2010 15:10:33 -0400	[thread overview]
Message-ID: <8790.1286997033@alphaville.usa.hp.com> (raw)
In-Reply-To: Message from Ivan Vilata i Balaguer <ivan@selidor.net> of "Wed, 13 Oct 2010 19:59:43 +0200." <87zkuinfcg.fsf@rampella.terramar.selidor.net>

Ivan Vilata i Balaguer <ivan@selidor.net> wrote:

> --=-=-=
> 
> Nick Dokos (2010-10-13 18:37:11 +0200) wrote:
> 
> > AFAIK, orgtbl-mode is a minor mode so that you can use org's table
> > generation facilities in other modes (e.g. text, or including a table
> > in a comment in a C/python/perl/foo source file, or in mail...)
> > In particular, it does not generate HTML. That is done by org's export
> > facilities. So either your description is inaccurate or my understanding
> > is flawed. Given the absence of responses, I suspect other people share
> > my bafflement.
> >
> > It would help if you described the process you used exactly:
> 
> Of course, Nick.  First, I write an HTML file like the attached one,
> which already has an OrgTbl table and the markers describing where it is
> going to be output.  Then I enable orgtbl-mode, I place the cursor over
> the table and press C-c C-c.  The table is output in HTML between the
> markers.
> 
> The problem is that "foo&bar" in the original table gets exported as
> "foo&bar", when it should be exported as "foo&amp;bar" to avoid spoling
> the HTML code.
> 
> I hope it's clear enough this time. :)
> 

Yes, thanks. I'll try it out later. FWIW, my mail reader does not see an
attachment in your message: all I get is the following attachmen with an external
body. Not sure whose fault that is though: maybe mh-e gets hopelessly confused
with it. Can you post the HTML file inline?

Thanks,
Nick


> --=-=-=
> Content-Type: message/external-body; name*=us-ascii''~%2ftmp%2fprova.html;
>  access-type=local-file
> 
> Content-Type: text/html
> Content-ID: <87y6a2nfcg.fsf@rampella.terramar.selidor.net>
> Content-Transfer-Encoding: binary
> 
> 
> 
> --=-=-=
> 
> 
> -- 
> Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/
> 
> --=-=-=
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> --=-=-=--
> 
> 

  reply	other threads:[~2010-10-13 19:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 16:06 [BUG] OrgTbl exports raw ampersands in HTML Ivan Vilata i Balaguer
2010-10-13 16:37 ` Nick Dokos
2010-10-13 17:59   ` Ivan Vilata i Balaguer
2010-10-13 19:10     ` Nick Dokos [this message]
2010-10-13 20:23       ` Ivan Vilata i Balaguer
2010-10-13 20:52         ` Nick Dokos
2010-10-15  6:24           ` Carsten Dominik
2010-10-15 12:22             ` Nick Dokos
2010-10-15 12:31           ` Ivan Vilata i Balaguer

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.orgmode.org/

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

  git send-email \
    --in-reply-to=8790.1286997033@alphaville.usa.hp.com \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ivan@selidor.net \
    /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/org-mode.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).