From: Bastien <bzg@gnu.org>
To: Alexandre Duret-Lutz <adl@lrde.epita.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: using :flags for C source block produce invalid html [8.2.1 (8.2.1-15-ge5cecc-elpa)]
Date: Mon, 04 Nov 2013 12:44:40 +0100 [thread overview]
Message-ID: <87wqkoz907.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CA+Xfj9Q2S5RhHdMCMBNOT=RsrtKpYyW0W7g8+E7brjL3mUrqxg@mail.gmail.com> (Alexandre Duret-Lutz's message of "Sun, 27 Oct 2013 14:41:12 +0100")
Hi Alexandre,
Alexandre Duret-Lutz <adl@lrde.epita.fr> writes:
> #+BEGIN_SRC C :export code :include <stdio.h> :flags -I.
> int a = 2;
> int b = 3;
> printf("%d", a + b);
> #+END_SRC
(org-element-property :language src-block)
returns
"C\"-I.\""
on such a source code block, I guess that's where the error lies.
> When I export them with with C-x C-e h h, I get the following HTML
> (excerpt):
Yes, I guess the parser needs a fix here -- Nicolas, is it the case?
Thanks,
--
Bastien
prev parent reply other threads:[~2013-11-04 11:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-27 13:41 Bug: using :flags for C source block produce invalid html [8.2.1 (8.2.1-15-ge5cecc-elpa)] Alexandre Duret-Lutz
2013-11-04 11:44 ` Bastien [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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wqkoz907.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=adl@lrde.epita.fr \
--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).