From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien 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 Message-ID: <87wqkoz907.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdIaQ-00019A-NR for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:44:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdIaK-0007ZR-RL for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:44:50 -0500 Received: from mail-bk0-x22d.google.com ([2a00:1450:4008:c01::22d]:41316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdIaK-0007Xg-KU for emacs-orgmode@gnu.org; Mon, 04 Nov 2013 06:44:44 -0500 Received: by mail-bk0-f45.google.com with SMTP id r7so2291998bkg.18 for ; Mon, 04 Nov 2013 03:44:43 -0800 (PST) In-Reply-To: (Alexandre Duret-Lutz's message of "Sun, 27 Oct 2013 14:41:12 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexandre Duret-Lutz Cc: emacs-orgmode@gnu.org Hi Alexandre, Alexandre Duret-Lutz writes: > #+BEGIN_SRC C :export code :include :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