docs: private void applyStyles(Document doc) {
          Elements allStyledElements = doc.getElementsByAttribute(CSS_STYLE);
  
          for (Element e : allStyledElements) {
              String newStyle = e.attr(CSS_STYLE);
              String oldStyle = e.attr(STYLE_ATTR);
              e.attr(STYLE_ATTR, (newStyle + "; " + oldStyle).replace(";;", ";"));
              e.removeAttr(CSS_STYLE);
          }
      }