Add escape to dynamic attributes