From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [bug] org-inlinetask produces invalid xhtml Date: Tue, 09 Aug 2011 11:14:09 +0530 Message-ID: <81vcu7i1g6.fsf@gmail.com> References: <81ipq7j1xp.fsf@gmail.com> <81aabjj17d.fsf@gmail.com> <87wrenn4ic.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqf7J-0001Rc-9e for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 01:44:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qqf7I-0000WJ-4v for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 01:44:41 -0400 Received: from mail-pz0-f44.google.com ([209.85.210.44]:60836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qqf7H-0000WD-Uq for emacs-orgmode@gnu.org; Tue, 09 Aug 2011 01:44:40 -0400 Received: by pzk36 with SMTP id 36so4057689pzk.17 for ; Mon, 08 Aug 2011 22:44:39 -0700 (PDT) In-Reply-To: <87wrenn4ic.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 08 Aug 2011 20:26:51 +0200") 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Nicolas Goaziou writes: > Hello, > > Jambunathan K writes: > >>> Summary: org-inlinetask produces invalid xhtml > > I've pushed a fix. Is it correct now? 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. 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. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=odt-export-bug.org Content-Description: odt-export-bug.org * B oscillations This is Suvayu's example but simplified. Also see the annotation within the inline task itself. _Questions_: *************** Detector effects :Qn: 1. How is the Gaussian used for smearing of proper time resolution derived? [[http://www.google.com][Google]] this. 2. Why is the proper time error PDF needed? Why is smearing of time resolution not enough? *************** END --=-=-= Content-Type: text/plain #+begin_src nxml
Detector effects
  1. How is the Gaussian used for smearing of proper time resolution derived? Google this.
  2. Why is the proper time error PDF needed? Why is smearing of time resolution not enough?
#+end_src --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=odt-export-bug1.org Content-Description: odt-export-bug1.org * B oscillations This is Suvayu's example but simplified. Also see the annotation within the inline task itself. _Questions_: *************** Detector effects :Qn: 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 --=-=-= Content-Type: text/plain #+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 -- --=-=-=--