1.0.4 • Published 4 years ago
html-to-xhtml v1.0.4
Simple CLI tool to make a HTML file XHTML compliant. Closes void elements, adds a root XML namespace and formats markup. Defaults to write mode on input file.
Install:
npm install html-to-xhtmlRun:
npx html-to-xhtml INPUT_PATHFlags:
-x: parses the document to substite ">" entities for plain ">" characters.