strip tags in captions for data attributes