emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: [bug] Export to FreeMind (HTML) fails due to ampersant in URL
Date: Wed, 4 Feb 2015 17:46:25 +0100	[thread overview]
Message-ID: <2015-02-04T17-41-08@devnull.Karl-Voit.at> (raw)

Hi!

Org-mode version 8.3beta (release_8.3beta-721-gd1c5dc) on GNU Emacs
24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17

When I export a simple heading like below, which contains an URL
with an ampersant (&), FreeMind throws an error:

,----[ The exported heading ]
| ** Freemind-Tests
|
| - [[https://www.youtube.com/watch?v=qwtVtcQQfqc&feature=player_embedded][Emacs Rocks 11 - swank-js]]
`----

,----[ FreeMind v1.0.1 Error Message ]
| Error while parsing file:freemind.main.XMLParseException: XML Parse Exception
| during parsing of the XML definition at line 1: Unexpected end of data reached
`----

,----[ resulting mm-file ]
| <map version="0.9.0">
|
| <node>
| <richcontent TYPE="NODE">
| <html>
| <head>
| </head>
| <body>
| <p>Freemind-Tests
| </p>
| </body>
| </html>
| </richcontent>
| <richcontent TYPE="NOTE">
| <html>
| <head>
| </head>
| <body>
| <ul class="org-ul">
| <li><a href="https://www.youtube.com/watch?v=qwtVtcQQfqc&feature=player_embedded">Emacs Rocks 11 - swank-js</a></li>
| </ul>
| </body>
| </html>
| </richcontent>
| </node>
| </map>
`----

When I remove the "&" from the mm-file, FreeMind is able to
import/show the mind-map without any issues.

This might be related with the HTML exporter since ox-freemind.el is
using ox-html.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

             reply	other threads:[~2015-02-04 16:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 16:46 Karl Voit [this message]
2015-02-05  9:08 ` [bug] Export to FreeMind (HTML) fails due to ampersant in URL Nicolas Goaziou
2015-02-05 11:03   ` [bug] Export to FreeMind (HTML) fails due to ampersand " Karl Voit
2015-02-05 11:27   ` [bug] Export to FreeMind (HTML) fails due to ampersant " Achim Gratz
2015-02-05 11:58     ` Nicolas Goaziou
2015-02-09  7:42       ` Karl Voit
2015-02-05 16:59     ` Karl Voit

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=2015-02-04T17-41-08@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).