Новенький
Регистрация: 21.01.2006
Сообщений: 17
|
для чистоты эксперимента приведу весь конфиг
-----------------конфиг----------------------
RTE.default.proc {
// TRANSFORMATION METHOD
overruleMode = ts_css
// LINES CONVERSION
dontConvBRtoParagraph = 1
// TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr,br,font,h1,div
// TAGS ALLOWED
allowTags = table, tbody, tr, th, font, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, re, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, tt, q, cite, abbr, acronym
// TAGS DENIED
denyTags =
// ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = class, style, align, id, font
remapParagraphTag =
// CONTENT TO RTE
HTMLparser_rte {
// TAGS ALLOWED
allowTags < RTE.default.proc.allowTags
removeTags =
// DO NOT REMOVE UNMATCHED TAGS
keepNonMatchedTags = 1
keepNonMatchedTags = protect
}
// CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {
// XHTML COMPLIANCE
xhtml_cleaning = 0
// CLEAN TAGS
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
tags.hr.allowedAttribs = class,style
// REMAP B AND I TAGS
#tags.b.remap = strong
tags.i.remap = em
rmTagIfNoAttrib >
rmTagIfNoAttrib = span
htmlSpecialChars = 0
}
RTE.default.proc.preserveTables = 1
RTE.default.proc.entryHTMLparser_db.keepNonMatched Tags = 1
-----------------конфиг----------------------
|