RTE.default.enableWordClean.HTMLparser {
allowTags = a,abbr,acronym,b,bdo,blockquote,br,cite,code,col,
colgroup,del,dfn,div,em,h1,h2,h3,h4,h5,h6,hr,i,img,li,ol,
p,span,strike,strong,sub,sup,table,thead,tbody,tfoot,td,tr,th,
ul,pre,dl,dd,dt
tags {
p {
allowedAttribs = id, title, dir, lang, xml:lang, class
fixAttrib.align.unset = 1
fixAttrib.style.unset = 1
}
div < .p
h1 < .p
h2 < .p
h3 < .p
h4 < .p
h5 < .p
h6 < .p
table < .p
thead < .p
tbody < .p
tfoot < .p
th < .p
tr < .p
td < .p
caption < .p
span < .p
ul < .p
ol < .p
li < .p
dfn < .p
hr < .p
strong < .p
em < .p
del < .p
q < .p
code < .p
blockquote < .p
b < .p
i < .p
sub < .p
sup < .p
hr < .p
dl < .p
dd < .p
dt < .p
pre < .p
a {
# entfernt die Anker aus Word-Dokumenten
# und die Style-Attribute, die Safari sonst in die Links schreibt.
allowedAttribs = id, title, dir, lang, xml:lang, class, href
fixAttrib.style.unset = 1
}
}
# das a ist neu hier, für die Anker aus Word
rmTagIfNoAttrib = span,div,a
removeTags = center, font, o:p, sdfield, strike, u
# das brauchts, weil Safari sonst sogar auf br das style-Atribut setzt
noAttrib = br
}