Changed rendering of notes to HTML to only do markdown conditionally
Fixed handling of details in glosses