LosManos... 0 Posted December 12, 2012 Share Posted December 12, 2012 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
Level 5 Jackolicious 808 Posted December 12, 2012 Level 5 Share Posted December 12, 2012 This is a great find. Thanks! Link to comment
Level 5 Martin Packer 162 Posted December 13, 2012 Level 5 Share Posted December 13, 2012 I might not be a bug but it might also not be useful behaviour. Link to comment
LosManos... 0 Posted December 13, 2012 Author Share Posted December 13, 2012 This is a great find. Thanks!I am not even sure it is a bug since export file is "enex" format which is whatever Evernote decides to put there. Link to comment
Idea
LosManos... 0
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.