Issue Bug Closed

#52647tt_content injected <p> when removing header div

Danilo Bürger 10/10/13, 01:31 updated 01/18/15, 22:33

Description

Hey,

Typo Version: 6.1.5 (Source + Dummy)

when using the following TS

config {
    disablePrefixComment = 1
}

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
lib.stdheader.stdWrap.dataWrap = |
lib.stdheader.3.headerClass >
tt_content.stdWrap.innerWrap.cObject.default >

page = PAGE
page {
    10 = FLUIDTEMPLATE
    10 {
        template = FILE
        template.file = fileadmin/template.html

        variables {
            content < styles.content.get
        }
    }
}

and having a page with 2 text contents will produce:

<p><h2>Title 1</h2><p>Text 1.1
</p></p>
<p>Text 1.2</p><h1>Title 2</h1><p>Text 2</p>
This is obviously wrong since it has an extra

tag which closes in the middle of the first text content.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.