From 9102aabdaca88ecd65597654e9da4fdd9a425200 Mon Sep 17 00:00:00 2001 From: John Kenny Date: Thu, 19 Sep 2024 06:49:05 -0700 Subject: [PATCH] Updated docs. --- docs/04-plugins/removeUnknownsAndDefaults.md | 26 ++++++++++++++ docs/04-plugins/removeUnknownsAndDefaults.mdx | 35 ------------------- docs/plugins/removeUnknownsAndDefaults.md | 26 ++++++++++++++ docs/preset-default.md | 2 +- plugins/removeUnknownsAndDefaults.js | 2 ++ 5 files changed, 55 insertions(+), 36 deletions(-) create mode 100644 docs/04-plugins/removeUnknownsAndDefaults.md delete mode 100644 docs/04-plugins/removeUnknownsAndDefaults.mdx create mode 100644 docs/plugins/removeUnknownsAndDefaults.md diff --git a/docs/04-plugins/removeUnknownsAndDefaults.md b/docs/04-plugins/removeUnknownsAndDefaults.md new file mode 100644 index 0000000..9a58f1c --- /dev/null +++ b/docs/04-plugins/removeUnknownsAndDefaults.md @@ -0,0 +1,26 @@ +# removeUnknownsAndDefaults + +Removes unknown elements and attributes, as well as attributes that are set to their default value. +It also removes the the `standalone` declaration from the DTD if [`standalone`](https://www.w3.org/TR/REC-xml/#sec-rmd) is set to `no`. + +The plugin has no effect if: + +- The document has scripts. +- The document has `