---
title: "htmlArea RTE: <br> nach <p> bzw. <hX> entfernen"
url: "https://www.typo3.net/d/58709-htmlarea-rte-br-nach-p-bzw-hx-entfernen"
source: "typo3.net"
tags: ["Backend","RTE & CKEditor","Frage"]
created: "2007-03-01"
last_reply: "2007-03-01"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

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

Backend › RTE & CKEditor · 0 Antworten · gestartet 2007-03-01

## Eröffnungsbeitrag

**lunatic** · 2007-03-01 · [Beitrag #1](https://www.typo3.net/d/58709-htmlarea-rte-br-nach-p-bzw-hx-entfernen/1)

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?

```html
<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.

```typoscript
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
	
}
```

---

Quelle: „htmlArea RTE: <br> nach <p> bzw. <hX> entfernen“, typo3.net, https://www.typo3.net/d/58709-htmlarea-rte-br-nach-p-bzw-hx-entfernen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
