Skip to content

Commit

Permalink
fix(plugins/tidy-html): hide html comment tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 1, 2021
1 parent 4c5095f commit d4285d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/tidy-html/index.js
Expand Up @@ -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",
};

Expand Down

0 comments on commit d4285d9

Please sign in to comment.