summaryrefslogtreecommitdiffstats
path: root/htdocs/config/tidy.conf
blob: a1b2947381522816bc0c17d1cf7587635910bb72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#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 markup
markup: 1
#indent: 1

# remove word2000 cruft and other proprietary attributes
bare: 1
word-2000: 1
drop-proprietary-attributes: 1