pinboardToEvernote icon indicating copy to clipboard operation
pinboardToEvernote copied to clipboard

All on* attributes are prohibited in ENML

Open rohitagarwal003 opened this issue 12 years ago • 2 comments

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

rohitagarwal003 avatar Oct 23 '12 09:10 rohitagarwal003

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

foxmask avatar Jul 25 '15 09:07 foxmask

Thanks @foxmask - I will fix this.

rohitagarwal003 avatar Jul 25 '15 15:07 rohitagarwal003