Zum Inhalt springen

Quotation Tags <q></q> in einer unordered list, Problem mit Anführungszeichen

Erstellt am 26. April 2007 · Noch keine Antworten

Tags: HTML & CSS, Frage

fuss ·

Olla!

Ich arbeite mit < q > Tags, um im Text korrekte typografische Anführungszeichen zu bekommen. Das klappt in Verbindung mit dem RTE auch wunderbar, sobald ich allerdings in einer unordered list einem Wort Anführungszeichen verpassen will, bekomme ich als HTML-Output für dieses Wort lediglich die HTML-Entities &lt q &gt angezeigt.

Jemand nen Tip für mich?

TYPO3 4.1.1 mit dem aktuellen RTE.

gruss, fuss

mod.SHARED.colPos_list = 1,0,2,3

### RTE Classe des Interface (Ausrichtung) ###
RTE.classes {
 align-left {
  name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
  value = text-align: left;
 }
 align-center {
  name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
  value = text-align: center;
 }
 align-right {
  name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
  value = text-align: right;
 }
}


### remove link pics
RTE.classesAnchor {
 internalLink {
  class = internal-link
  type = page
  image >
 }
 externalLink {
  class = external-link
  type = url
  image >
 }
 externalLinkInNewWindow {
  class = external-link-new-window
  type = url
  image >
 }

 internalLinkInNewWindow {
  class = internal-link-new-window
  type = page
  image >
 }
 download {
  class = download
  type = file
  image >
 }
 mail {
  class = mail
  type = mail
  image >
 }
}


# RTE config
RTE.default {
 # Zuweisung der CSS-Datei
 contentCSS = fileadmin/templates/stylesrte.css
       
 # Markup options
 enableWordClean = 1
 removeTrailingBR = 1
 removeComments = 1
removeTags = center, sdfield
removeTagsAndContents = style,script

 # Buttons show/hide
 showButtons = formatblock, textstyle, textstylelabel, blockstyle, blockstylelabel, bold, italic, underline, orderedlist, unorderedlist, insertcharacter, link, image, removeformat, table, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge, findreplace, insertcharacter, undo, redo, showhelp, about
 hideButtons = left, center, right, fontstyle, fontsize, strikethrough,lefttoright, righttoleft, textcolor, bgcolor, textindicator, emoticon, user, spellcheck, chMode, inserttag, outdent, indent, line, justifyfull, subscript, superscript, acronym, copy, cut, paste

 # group buttons
 keepButtonGroupTogether = 1

 # hide statusbar
 showStatusBar =  0

 ## Add styles Left, center and right alignment of text in paragraphs and cells.
 inlineStyle.text-alignment (
  p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; }
  p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; }
  p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
 )

 inlineStyle.frames (
  p.csc-frame-frame1, table.csc-frame-frame1 { background-color: transparent; border: 1px solid #D4E3F5; }
  p.csc-frame-frame2, table.csc-frame-frame2 { background-color: transparent; border-bottom: 1px solid #D4E3F5; }
 )

 # Use stylesheet file rather than the above mainStyleOverride and inlineStyle properties to style the contents (htmlArea RTE only)
 ignoreMainStyleOverride = 1

       
 proc {
  # allow image in rte... hm, hm... what for its RichTextEditor?
  #entryHTMLparser_db.tags.img >
  
  allowTags = table, tbody, tr, th, 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, center
  denyTags = font

  dontConvBRtoParagraph = 1

  # allowed outside tags
  allowTagsOutside = img,hr

  # allowed attributes in p, div tags
  keepPDIVattribs = align,class,style,id

### List all class selectors that are allowed on the way to the database
  allowedClasses (
   small,smallstrong,highlight,author,quotes,indent,center,right,code,box,
   external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail,
   align-left, align-center, align-right, 
  )       

  # html parser 
  HTMLparser_rte {
   # allow/deny
   allowTags < RTE.default.proc.allowTags
   denyTags < RTE.default.proc.denyTags

   # remove tags
   removeTags = font

   # entfernt html-kommentare
   removeComments = 1

   # keep tags (protect / 1 / 0)
   keepNonMatchedTags = 1
  }


  # Content to database
  entryHTMLparser_db = 1
  entryHTMLparser_db {
   # tags die erlaubt/verboten sind
   allowTags < RTE.default.proc.allowTags
   denyTags < RTE.default.proc.denyTags
   removeTags = center, sdfield, font
   # CLEAN TAGS
   noAttrib = b, i, u, strike, sub, sup, strong, em, blockquote, cite, tt, br, center
   rmTagIfNoAttrib = span,div,font
   #htmlSpecialChars = 1
   ## XHTML COMPLIANCE - Note that applying xhtml_cleaning on exit would break non-standard attributes of typolink tags
   xhtml_cleaning = 1
   ## align attribute werden erlaubt
   .tags {
    p.fixAttrib.align.unset >
    p.allowedAttribs = class,style,align
    div.fixAttrib.align.unset >
    hr.allowedAttribs = class
    # replace b and i tags (em / strong)
    b.remap = strong
    i.remap = em
    ## allow img, no
    img >
   }
  }
 }

 # Classes: align
 classesParagraph (
  align-left, align-center, align-right
 )

### Classes: own styles
 classesCharacter = small,smallstrong,highlight,author,quotes,indent,center,right,code,box
 classesImage= rte_image

 # Classes for links(These classes should also be in the list of allowedClasses)
 classesAnchor = external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
 classesAnchor.default {
  page = internal-link
  url = external-link-new-window
  file = download
  mail = mail
 }

 showTagFreeClasses = 1

 # Do not allow insertion of the following tags
 hideTags = font

 # table stuff
 hideTableOperationsInToolbar = 0
 keepToggleBordersInToolbar = 1

 # table stuff (cellspacing/ cellpadding / border)
 disableSpacingFieldsetInTableOperations = 1
 disableAlignmentFieldsetInTableOperations=1
 disableColorFieldsetInTableOperations=1
 disableLayoutFieldsetInTableOperations=1
 disableBordersFieldsetInTableOperations=0
}

# Use same processing as on entry to database to clean content pasted into the editor
RTE.default.enableWordClean.HTMLparser < RTE.default.proc.entryHTMLparser_db

# FE RTE configuration (htmlArea RTE only)
RTE.default.FE < RTE.default
RTE.default.FE.userElements >
RTE.default.FE.userLinks >

# width of RTE in fullscreen view
TCEFORM.tt_content.bodytext.RTEfullScreenWidth= 80%