Fixes note escaping