summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-02-22 10:55:51 +0000
committerot <ot@localhost>2007-02-22 10:55:51 +0000
commite512d11609dd3c45838f8edb45ded119b1bd7ff4 (patch)
tree36986d1f3551d028e9bd8d9e714678a8db434e72
parentbddc7e4381e2afeb8f9410bd218fa407e4e90852 (diff)
downloadmarkup-validator-e512d11609dd3c45838f8edb45ded119b1bd7ff4.zip
markup-validator-e512d11609dd3c45838f8edb45ded119b1bd7ff4.tar.gz
markup-validator-e512d11609dd3c45838f8edb45ded119b1bd7ff4.tar.bz2
basic config for HTML::Tidy
-rw-r--r--htdocs/config/tidy.conf45
1 files changed, 45 insertions, 0 deletions
diff --git a/htdocs/config/tidy.conf b/htdocs/config/tidy.conf
new file mode 100644
index 0000000..c183276
--- /dev/null
+++ b/htdocs/config/tidy.conf
@@ -0,0 +1,45 @@
+#see http://tidy.sourceforge.net/docs/quickref.html
+
+# all utf-8
+output-encoding: utf8
+input-encoding: utf8
+
+# default ALT, if missing
+alt-text: ** PLEASE DESCRIBE THIS IMAGE **
+
+
+# replace unexpected hyphens in comments
+fix-bad-comments: 1
+
+# check and escape chars in URI attribute values
+fix-uri: 1
+
+# combine class names to generate a single new class name,
+# if multiple class assignments are detected on an element.
+join-classes: 1
+
+# <b> -> <strong>, <i> -> <em>
+logical-emphasis: 1
+
+# convert the value of an attribute that takes a list of predefined values to lower case
+lower-literals: 1
+
+# no BOM, please
+output-bom: 0
+
+# output even in case of errors
+force-output: 1
+
+#strip out surplus presentational tags and attributes
+#replacing them by style rules and structural markup as appropriate
+clean: 1
+
+# pretty-print but not auto-indent auto-indent markup
+markup: 1
+#indent: 1
+
+# remove word2000 cruft and other proprietary attributes
+bare: 1
+word-2000: 1
+drop-proprietary-attributes: 1
+