Don't replace the contents, just add the tags before and after