Skip to content
Permalink
Browse files
fix(plugins/tidy-html): hide html comment tags
  • Loading branch information
Fdawgs committed Dec 1, 2021
1 parent 4c5095f commit d4285d9a320fad6f058fc6d71a00fb17cccf8c7c
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/plugins/tidy-html/index.js
@@ -56,13 +56,15 @@ async function plugin(server) {
* - clean (replace legacy HTML tags)
* - dropProprietaryAttributes (remove proprietary attributes, such as Microsoft data binding attributes)
* - escapeCdata (convert <![CDATA[]]> sections to normal text)
* - hideComments (do not print HTML comment tags)
* - sortAttributes (sort attributes in element in ascending alphabetic sort)
*/
const config = {
bare: true,
clean: true,
dropProprietaryAttributes: true,
escapeCdata: true,
hideComments: true,
sortAttributes: "alpha",
};

0 comments on commit d4285d9

Please sign in to comment.