emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Karl Voit <devnull@Karl-Voit.at>
Cc: Karl Voit <news1142@Karl-Voit.at>, emacs-orgmode@gnu.org
Subject: Re: [bug] Export to FreeMind (HTML) fails due to ampersant in URL
Date: Thu, 05 Feb 2015 10:08:03 +0100	[thread overview]
Message-ID: <87k2zw20b0.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <2015-02-04T17-41-08@devnull.Karl-Voit.at> (Karl Voit's message of "Wed, 4 Feb 2015 17:46:25 +0100")

Hello,

Karl Voit <devnull@Karl-Voit.at> writes:

> 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.

This looks like valid HTML code to me. Also it exports fine to HTML. Is
there any restriction related to this specific to FreeMind?


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-02-05  9:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 16:46 [bug] Export to FreeMind (HTML) fails due to ampersant in URL Karl Voit
2015-02-05  9:08 ` Nicolas Goaziou [this message]
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=87k2zw20b0.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=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).