emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] OrgTbl exports raw ampersands in HTML
Date: Wed, 13 Oct 2010 19:59:43 +0200	[thread overview]
Message-ID: <87zkuinfcg.fsf@rampella.terramar.selidor.net> (raw)
In-Reply-To: 21328.1286987831@gamaville.dokosmarshall.org

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

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. :)

[-- Attachment #2: ~/tmp/prova.html --]
[-- Type: message/external-body, Size: 119 bytes --]

[-- Attachment #3: Type: text/plain, Size: 62 bytes --]


-- 
Ivan Vilata i Balaguer -- http://ivan.lovesgazpacho.net/

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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 18:00 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 [this message]
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=87zkuinfcg.fsf@rampella.terramar.selidor.net \
    --to=ivan@selidor.net \
    --cc=emacs-orgmode@gnu.org \
    /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).