[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [bug] Export to FreeMind (HTML) fails due to ampersant in URL
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [bug] Export to FreeMind (HTML) fails due to ampersant in URL |
Date: |
Thu, 05 Feb 2015 10:08:03 +0100 |
Hello,
Karl Voit <address@hidden> 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