E-Mail to Evernote
Fri, Jul 25 2014, 14:33 Apple, AppleScript, Email, Mac OS X, programming, software PermalinkI fixed a bug in the Send E-Mail to Evernote.scpt where it would crash if the HTML at some point would contain or other ISO encoded characters. You can download a new version here.
If you maintain your own changes in this script, here's the fix. Change the following lines inside the function htmlFix:
--TEST FOR / STRIP OUT LEADING SEMI-COLON
if item 1 of paraSource contains ";" then
into this:
--TEST FOR / STRIP OUT LEADING SEMI-COLON (skip stuff)
if item 1 of paraSource contains ";" and item 1 of paraSource does not contain "&" then
If you maintain your own changes in this script, here's the fix. Change the following lines inside the function htmlFix:
--TEST FOR / STRIP OUT LEADING SEMI-COLON
if item 1 of paraSource contains ";" then
into this:
--TEST FOR / STRIP OUT LEADING SEMI-COLON (skip stuff)
if item 1 of paraSource contains ";" and item 1 of paraSource does not contain "&" then