From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Dehennin Subject: Error escaping '<' and '>' in HTML export Date: Sat, 12 Jan 2013 14:18:22 +0100 Message-ID: <87fw26y1y9.fsf@hati.baby-gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu0z2-0002NH-PD for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:18:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu0ys-0008Rf-GQ for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:18:48 -0500 Received: from zion.baby-gnu.net ([82.225.168.180]:58909 helo=zion.baby-gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu0ys-0008QB-8b for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 08:18:38 -0500 Received: from hati.asgardr.info ([192.168.1.2] helo=hati.baby-gnu.org) by zion.baby-gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Tu0yc-0007dj-M3 for emacs-orgmode@gnu.org; Sat, 12 Jan 2013 14:18:22 +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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I tried to export as HTML some script I made and found that the exporter do not handle correctly URL in the form '' like in the GPL licence notice when followed by a line containing '>' For example: #+begin_src sh #!/bin/sh =20=20 # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . =20=20 # Report bug to Hello Bug Tracking system echo "Hello World" #+end_src produce the following: #+begin_src html # al= ong with this program. If not, see . # Report bug to Hello Bug Tracking system hello-bug@example.net"><http:/= /www.gnu.org/licenses/>.. # Report bug to Hello Bug Tracking system hello-bug@example.net"> . # Report bug to Hello Bug Tracking system hello-bug@example.net"># . # Report bug to Hello Bug Tracking system hello-bug@example.net">Report bug= to Hello Bug Tracking system hello-bug@example.net> #+end_src Regards. =2D-=20 Daniel Dehennin R=C3=A9cup=C3=A9rer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREKAAYFAlDxYp4ACgkQFrLRMcygGkthYQD/atPFsQcQFcJwntpcn+xptRod yt4bbMN+nJWgUAzCVOQA+gL8SvawwSeO+Is4brBCkmZC+O6VgpVvtQlq78mfjDoX =4Nqk -----END PGP SIGNATURE----- --=-=-=--