switched to ruby for exporting the note because of better HTML parsing facilities