Zum Inhalt springen

HTMLArea und <acronym>

Erstellt am 4. Mai 2005 · 1 Antwort · letzte Antwort am 29. September 2005

Tags: Frage

Unbekannter Benutzer ·

Hallo,

ich habe gerade den HTMLArea RTE-Editor installiert und bin begeistert. Ich habe jetzt nur noch das Problem, dass ich im Backend den Tag acronym wunderbar einarbeiten kann - wird hier auch angezeigt (HTML-Ansicht) und bleibt auch beim Speichern erhalten - dieser jedoch beim rendern im Frontend nicht als HTML-Tag umgesetzt wird. Er wird zum normalen Bestandteil des Fließtextes. Das schaut dann so aus:

...Kontakt <acronym title="hallo">treten</acronym>!...

In Page TSconfig habe ich folgendes stehen:

# stellt b, i usw. dar anstelle von <span...>
RTE.default.useCSS = 0


RTE. default.proc {
 // TRANSFORMATION METHOD
overruleMode = ts_css

 // LINES CONVERSION
dontConvBRtoParagraph = 1

 // BRING FONT TAGS INSIDE PARAGRAPHS
internalizeFontTags = 0

 // TAGS ALLOWED OUTSIDE P & DIV
allowTagsOutside = img,hr

 // TAGS ALLOWED
allowTags = table, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, img, nobr, hr, center, font, tt, q, cite, abbr, acronym

 // TAGS DENIED
denyTags >

 // ALLOWED P & DIV ATTRIBUTES
keepPDIVattribs = align,class,style

// ALLOWED CLASSES
allowedClasses = _

// CONTENT TO DATABASE
entryHTMLparser_db = 1
entryHTMLparser_db {

// TAGS ALLOWED
allowTags < RTE.default.allowTags

// XHTML COMPLIANCE
xhtml_cleaning = 1

// AVOID TO HSC TWICE
htmlSpecialChars = 0

// CLEAN TAGS
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
tags.hr.allowedAttribs = class

// REMAP B AND I TAGS
tags.b.remap = strong
tags.i.remap = em
tags.acronym.remap = acronym
}
}

Was muss noch eingestellt werden das der acronym-Tag im Frontend gerendert wird?

Gruß
Sukkulent

adventuremaker · · Beste Antwort

Ich möchte die Frage gerne mal auffrischen.
Bei mir besteht das Problem mit dem cite-Tag.

Was muss ich machen, damit die HTML-Tags im FE richtig gerendert werden?