public static void closeStyleTags(XHTMLContentHandler xhtml, Deque<Tag> formattingState)
            throws SAXException {
        ensureFormattingState(xhtml, EnumSet.noneOf(Tag.class), formattingState);
    }
Closes all formatting tags.

@param xhtml           handler
@param formattingState current formatting state (stack of open formatting tags)
@throws SAXException pass underlying handler exception
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/FormattingUtils.java