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: [BUG] OrgTbl exports raw ampersands in HTML
Date: Wed, 13 Oct 2010 12:37:11 -0400	[thread overview]
Message-ID: <21328.1286987831@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Ivan Vilata i Balaguer <ivan@selidor.net> of "Wed, 13 Oct 2010 18:06:30 +0200." <878w22oz5l.fsf@rampella.terramar.selidor.net>

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

> (This is a rewrite of my previous post so it gets properly noticed as a
> bug. ;) )
> 
> When generating HTML tables with ampersands in the text, OrgTbl outputs
> raw ampersands (&) instead of escaped ampersands (&amp;), which renders
> the file invalid.  This bug does not affect normal HTML generation when
> exporting standalone files.  I'm using Org version 7.01h.  I've attached
> a sample HTML file with an OrgTbl table in it so you can check for
> yourselves.  Thanks!
> 

I confess I looked at your original report, was baffled by it, started
composing a reply but was distracted before sending it.

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:

o I started with a file in foo major mode with these contents...

o I enabled orgtbl-mode and added a table like this...

o Then I did this-that-and-the-other to generate an HTML file which
  looks like this...

Thanks,
Nick

  reply	other threads:[~2010-10-13 16:39 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 [this message]
2010-10-13 17:59   ` Ivan Vilata i Balaguer
2010-10-13 19:10     ` Nick Dokos
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=21328.1286987831@gamaville.dokosmarshall.org \
    --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).