Zum Inhalt springen

htmlArea RTE: <br> nach <p> bzw. <hX> entfernen

Erstellt am 1. März 2007 · Noch keine Antworten

Tags: Frage

lunatic ·

Ich werd noch Irre! Ich bringe einfach die <br>-Elemente nach <p> und <hx> nicht weg.

Hab schon diverses probiert, aber nichts hat genutzt. Hat irendjemand einen Plan wie ich die Dinger wegkriege?

<h4>Freitag 16. März 2007 Training Day</h4><br>
<p>"Shred for free"</p><br>
<h4>Samstag 17. März 2007</h4><br>
<p>Quali Daybis 10.15 Anmeldung an der TalstationBeginn Quali im Slopestyle Park</p><br>

Die TSConfig meiner root-Seite.

mod.SHARED.colPos_list = 0

RTE {

	default {
		showTagFreeClasses = 1
		contentCSS = fileadmin/templates/css/styles.css
		useCSS = 1
	
		enableWordClean = 1
		disableEnterParagraphs = 0
		removeTrailingBR = 1
		removeComments = 1
		
		showButtons (
			blockstylelabel, blockstyle, formatblock, bold, italic, blockquote, textcolor, code,
			underline, strikethrough, insertcharacter, link, image, spellcheck, acronym, removeformat
			)
	
		hidePStyleItems = PRE, H1, H2, H3, ADDRESS
		classesParagraph = info, gross, sehrGross
		allowedClasses = info, gross, sehrGross
		
		showStatusBar = 1
		
		## Für sauberes html rausgenommen
		hideTags = font, font (full)
		
		## siehe oben ausführlich
		showStatusBar = 1	
	}

	default.proc {

		overruleMode = ts_css
		dontConvBRtoParagraph = 1
		allowTagsOutside = img,hr
		allowTags = 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
		denyTags = h1, h2, h3, table, tbody, tr, th, td, font
		keepPDIVattribs = align,class,style

		HTMLparser_rte {

			allowTags < default.proc.allowTags
			removeTags = font
			keepNonMatchedTags = 0
		
		}

		entryHTMLparser_db = 1
		entryHTMLparser_db {
		
			xhtml_cleaning = 1
	
			noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
			rmTagIfNoAttrib = span,div,font

		}
	
	}

	config.tt_content.bodytext >
	config.tt_content.bodytext.proc.overruleMode = ts_css
	config.tt_content.bodytext.types.text.proc.overruleMode = ts_css
	config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_css
	
}