Jump to content
  • 0

(Archived) export bug - ampersands in URL gets HTML formatted - mac v. 5.0.0 (400524)


LosManos...

Idea

When exporting a URL link the ampersand gets html formatted.

It is correct to format the text of the link but not the very URL.

I expected

"http://www.example.com/page.aspx?a=1&b=2"

but got

"http://www.example.com/page.aspx?a=1&b=2"

How to reproduce:

Evernote Mac V.5.0.0 (400524)

Create a note with a link like

<a href="http://www.example.c...b=2">MyLink</a>

with command-K.

It looks ok.

Now export the note. The result is:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE en-export SYSTEM "http://xml.evernote....e-export2.dtd">

<en-export export-date="20121212T151759Z" application="Evernote" version="Evernote Mac 5.0.0 (400524)">

<note><title>Failing link export</title><content><![CDATA[<?xml version=1.0" encoding="UTF-8" standalone="no"?>

<!DOCTYPE en-note SYSTEM "http://xml.evernote....pub/enml2.dtd">

<en-note style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">

<a href="http://www.example.com/page.aspx?a=1&b=2">MyLink</a><br/>

</en-note>

]]></content><created>20121212T151559Z</created><updated>20121212T151719Z</updated><note-attributes><latitude>57.700892442</latitude><longitude>11.959295829</longitude><altitude>0</altitude><author>LosManos</author></note-attributes></note>

</en-export>

The very link above is italic an bold.

(I fixed a similar bug in a project of my own Yesterday.)

Fixing it might be harder - switching & to & messes up the XML compliance.

Link to comment

3 replies to this idea

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...