Adding escaping for notes