From: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
To: emacs-orgmode@gnu.org
Subject: Error escaping '<' and '>' in HTML export
Date: Sat, 12 Jan 2013 14:18:22 +0100 [thread overview]
Message-ID: <87fw26y1y9.fsf@hati.baby-gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1965 bytes --]
Hello,
I tried to export as HTML some script I made and found that the exporter
do not handle correctly URL in the form '<http://example.net>' like in
the GPL licence notice when followed by a line containing '>'
For example:
#+begin_src sh
#!/bin/sh
# 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 <http://www.gnu.org/licenses/>.
# Report bug to Hello Bug Tracking system <hello-bug@example.net>
echo "Hello World"
#+end_src
produce the following:
#+begin_src html
<span style="color: #adadad;"># </span><span style="color: #adadad;">along with this program. If not, see <a href="http://www.gnu.org/licenses/>.
# Report bug to Hello Bug Tracking system hello-bug@example.net"><http://www.gnu.org/licenses/>.</a></span><a href="http://www.gnu.org/licenses/>.
# Report bug to Hello Bug Tracking system hello-bug@example.net">
</a><span style="color: #adadad;"><a href="http://www.gnu.org/licenses/>.
# Report bug to Hello Bug Tracking system hello-bug@example.net"># </a></span><span style="color: #adadad;"><a href="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></a></span>
#+end_src
Regards.
--
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
[-- Attachment #2: Type: application/pgp-signature, Size: 229 bytes --]
next reply other threads:[~2013-01-12 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 13:18 Daniel Dehennin [this message]
2013-01-12 13:57 ` Error escaping '<' and '>' in HTML export Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fw26y1y9.fsf@hati.baby-gnu.org \
--to=daniel.dehennin@baby-gnu.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).