emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] Export to FreeMind (HTML) fails due to ampersant in URL
@ 2015-02-04 16:46 Karl Voit
  2015-02-05  9:08 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Karl Voit @ 2015-02-04 16:46 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-09  7:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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