Handle the case when highlightedCode doesn't wrapped up by pre element.