Escape html in note text, fix note creation with notebook