emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [bug] Export to FreeMind (HTML) fails due to ampersant in URL


From: Karl Voit
Subject: [O] [bug] Export to FreeMind (HTML) fails due to ampersant in URL
Date: Wed, 4 Feb 2015 17:46:25 +0100
User-agent: slrn/pre1.0.0-18 (Linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]