@genexus/web-standard-functions
Version:
GeneXus JavaScript standard functions library for web generators
15 lines • 590 B
JavaScript
;
/**
* Detects and corrects many common coding errors and strives to produce visually equivalent markup that is both W3C compliant and works on most browsers.
* A common use of this function is to convert plain HTML to XHTML.
* @param {string} target
* @return string
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.htmlClean = void 0;
const htmltidy = require("tidy-html5");
const htmlClean = (s) => {
return htmltidy.tidy_html5(s, { quiet: true, "tidy-mark": false });
};
exports.htmlClean = htmlClean;
//# sourceMappingURL=htmlClean.js.map