pinboardToEvernote
pinboardToEvernote copied to clipboard
All on* attributes are prohibited in ENML
Got the following errors while sending some notes to evernote. EDAMUserException: EDAMUserException(errorCode=11, parameter='Attribute "onmouseover" must be declared for element type "a".') EDAMUserException: EDAMUserException(errorCode=11, parameter='Attribute "onmouseout" must be declared for element type "a".') EDAMUserException: EDAMUserException(errorCode=11, parameter='Attribute "onblur" must be declared for element type "a".')
Hi,
I faced this issue so many times that I asked for help on that and here is how you can fix it
https://github.com/foxmask/django-th/commit/7323b942a4eaaa4ab2e4bd151fddb147bcaeb2d7
this gives https://github.com/foxmask/django-th/blob/master/th_evernote/sanitize.py#L52-L80
Regards
Thanks @foxmask - I will fix this.