escape entity in docs