Correct a broken HTML file or a HTML String | Drupal 8