fixes to maintain whitespace when editing annotation body text