I have the following code where I am creating a new tag wrapper that contains the content of a data-attribute which could be simple text, a simple tag, or a more complex tag