Project

General

Profile

Actions

Bug #52647

closed

tt_content injected <p> when removing header div

Added by Danilo Bürger over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-10-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 <p> tag which closes in the middle of the first text content.

Actions #1

Updated by Danilo Bürger over 10 years ago

Sorry, my mistake. I had content in my layout inside <f:format.html>.

I dont know how to close the issue, but if anybody can, please do.

Actions #2

Updated by Mathias Schreiber about 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF