From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan BISSON Subject: =?UTF-8?B?QXZvaWRpbmcgZGl2IGZyb20gc3BlY2lhbCBibG9ja3MgdG8gYmUg?= =?UTF-8?B?aW4gPHA+4oCm?= Date: Sun, 04 Dec 2011 17:01:41 +0100 Message-ID: <4EDB9965.9040400@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE8BFB7F5F6790BC9C798B7DF" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXEVl-00080x-V8 for emacs-orgmode@gnu.org; Sun, 04 Dec 2011 11:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXEVg-0007BN-Nk for emacs-orgmode@gnu.org; Sun, 04 Dec 2011 11:01:53 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:41253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXEVg-0007BI-1F for emacs-orgmode@gnu.org; Sun, 04 Dec 2011 11:01:48 -0500 Received: by wgbdt11 with SMTP id dt11so4775980wgb.30 for ; Sun, 04 Dec 2011 08:01:46 -0800 (PST) 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: emacs-orgmode@gnu.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8BFB7F5F6790BC9C798B7DF Content-Type: multipart/mixed; boundary="------------040607020101060009020600" This is a multi-part message in MIME format. --------------040607020101060009020600 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I just uncommented a line in org-special-blocks.el that made div special blocks (like #+begin_foo) in html export to be between

=85

=85 It seems to work well like this (and now the produced documents are W3C valid). Any clue on why it was commented ? --------------040607020101060009020600 Content-Type: text/x-patch; name="no_divs_in_p.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="no_divs_in_p.patch" diff --git a/lisp/org-special-blocks.el b/lisp/org-special-blocks.el index 2da57f0..d55e255 100644 --- a/lisp/org-special-blocks.el +++ b/lisp/org-special-blocks.el @@ -81,7 +81,7 @@ seen. This is run after a few special cases are taken = care of." "Converts the special cookies into div blocks." ;; Uses the dynamically-bound variable `line'. (when (string-match "^ORG-\\(.*\\)-\\(START\\|END\\)$" line) -; (org-close-par-maybe) + (org-close-par-maybe) (message "%s" (match-string 1)) (if (equal (match-string 2 line) "START") (insert "
\n") --------------040607020101060009020600-- --------------enigE8BFB7F5F6790BC9C798B7DF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAk7bmWkACgkQC2YP/JcnKf23YQD6A/nSjU+iVcj7HNL5T8hqOikh QKkbn0XkXtoUImTH/F4A/RmyjNnIsPspXaITj9u2NY4djIlWm9DoUINS84+hoVwU =0X7h -----END PGP SIGNATURE----- --------------enigE8BFB7F5F6790BC9C798B7DF--