A utility for handling HTML parsing in React, removing unwanted wrappers added by dangerouslySetInnerHTML