From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] org-inlinetask produces invalid xhtml Date: Tue, 09 Aug 2011 13:42:13 +0200 Message-ID: <874o1qn756.fsf@gmail.com> References: <81ipq7j1xp.fsf@gmail.com> <81aabjj17d.fsf@gmail.com> <87wrenn4ic.fsf@gmail.com> <81vcu7i1g6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqn5q-0004OK-3C for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:15:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqn5l-0001Mm-OT for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:15:42 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:63614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqn5l-0001MF-5w for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 10:15:37 -0400 Received: by wyi11 with SMTP id 11so29722wyi.0 for ; Tue, 09 Aug 2011 07:15:36 -0700 (PDT) In-Reply-To: <81vcu7i1g6.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 09 Aug 2011 11:14:09 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org Hello, Jambunathan K writes: > The problem persists. You can put the exported html file in nxml-mode > and do a C-c C-n to find the validation errors. The problem is different now. > I am attaching the two examples and the problematic html segment (marked > with VALIDATION ERROR) here. Note that one of the examples has a list in > the inline task. > > > > #+begin_src nxml >
Detector effects
>
    >
  1. How is the Gaussian used for smearing of proper time resolution > derived? Google this. >
  2. >
  3. Why is the proper time error PDF needed? Why is > smearing of time resolution not enough? >
  4. >
> #+end_src > > #+begin_src nxml >
>

1 B oscillations

>
> >

This is Suvayu's example but simplified. Also see the annotation > within the inline task itself. >

>

> Questions: >

> > >
Detector effects
>

> Suvayu's example uses lists within inline task. Can the html export > engine produce valid html when the inline task has lists. But honestly > why does a preformatted text looks like a well-formatted html > list. Isn't that strange. Just uncomment the below list and see for > yourself. >

> >

>
> #+end_src I see. Contents of inline tasks are meant to be interpreted during export. Thus, paragraphs will be marked as

, lists as

    or whatever... This isn't compatible with the default
     tag provided. I can see two
    possibilities. Come up with a better default value, or provide a way to
    tell to template that contents will be verbatim (or both).
    
    I prefer the first solution, but I can't think of something simple, yet
    elegant enough, for that value. Do you have any suggestion?
    
    Regards,
    
    -- 
    Nicolas Goaziou