Project

General

Profile

Actions

Bug #21252

closed

$this->doc->sectionHeader return wrong HTML

Added by Stefan Froemken over 14 years ago. Updated over 13 years ago.

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

0%

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

Description

I wrote an extension and try some samples with mediumdoc
While this test I saw that following:

$this->content .= $this->doc->sectionHeader($GLOBALS['LANG']->getLL('header-1'), 0, ' class="csc-header"');

returns:

<h4class="csc-header">Überschrift 1 Ich bin der Inhalt und enthalte Sonderzeichen wie ü ö ß </h4class="csc-header">

There is a missing SPACE between h4 and my class.

You can change this code into:

$this->content .= $this->doc->sectionHeader($GLOBALS['LANG']->getLL('header-1'), 0, 'class=" csc-header"');

to add spacer manually, but I think it should be fixed...
(issue imported from #M12207)


Files

12207.diff (817 Bytes) 12207.diff Administrator Admin, 2009-10-12 13:46
Actions

Also available in: Atom PDF