Escape both sides for reference set.