Project

General

Profile

Actions

Bug #23772

closed

Incorrect FE rendering of thead element in RTE content

Added by Jan Simbera about 14 years ago. Updated about 6 years ago.

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

0%

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

Description

The inputed HTML in RTE:
<table class="obecna"><thead><tr><th scope="col">123</th><th scope="col">asdas</th><th scope="col">asd</th><th scope="col">dasd</th></tr></thead><tbody></tbody><tbody><tr><td>asdasd</td><td>asd</td><td>asdas</td><td>asdasd</td></tr></tbody></table>

Gives me this output:
<thead></thead>
<table class="obecna">
<tbody><tr>
<th scope="col">123</th>
<th scope="col">asdas</th>
<th scope="col">asd</th>
<th scope="col">dasd</th>
</tr>
</tbody><tbody>
<tr>
<td>asdasd</td>
<td>asd</td>
<td>asdas</td>
<td>asdasd</td>
</tr>
</tbody>
</table>

Typo3 version 4.2.15 running.

RTE configuration:
RTE.default {
ignoreMainStyleOverride = 1
blindImageOptions = dragdrop
enableWordClean = 1
useCSS = 0
classesLinks = thickbox
classesAnchor = thickbox
removeTags = sdfield, font, center
removeTrailingBR = 1
showTagFreeClasses = 1
showButtons = *
showStatusBar = 1
toolbarOrder = formatblock, blockstyle, textstyle, bar, copy, cut, paste, undo, redo, linebreak, fontstyle, fontsize, bold, italic, underline, strikethrough, subscript, superscript, bar, lefttoright, righttoleft, left, center, right, justifyfull, bar, orderedlist, unorderedlist, bar, textcolor, bgcolor, emoticon, insertcharacter, line, link, image, bar, user, acronym, findreplace, spellcheck, chMode, removeformat, linebreak, toggleborders, table, tableproperties, bar, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, bar, columninsertbefore, columninsertafter, columndelete, columnsplit, bar, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellmerge
hideButtons = about, inserttag, textstylelabel, textstyle, fontstyle, fontsize, textcolor, bgcolor, textindicator, emoticon, acronym, justifyfull, lefttoright, righttoleft, left, center, right, justifyfull, line, user, outdent, indent, spellcheck
hidePStyleItems = ADDRESS, PRE, H6, blockquote, div
proc {
allowTags = table, thead, tfoot, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, link, img, nobr, hr, tt, q, cite, abbr, acronym, address, object, embed, param, map, area
overruleMode = ts_links, ts_images
xhtml_cleaning = 1
HTMLparser_db.xhtml_cleaning = 1
entryHTMLparser_db {
tags.img >
allowTags = table, thead, tfoot, tbody, tr, th, td, h1, h2, h3, h4, h5, h6, div, p, br, span, ul, ol, li, pre, blockquote, strong, em, b, i, u, sub, sup, strike, a, link, img, nobr, hr, tt, q, cite, abbr, acronym, address, object, embed, param, map, area
removeTags = sdfield, font, center
removeTagsAndContents = style
xhtml_cleaning = 1
noAttrib = b, i, u, strike, sub, sup, strong, em, quote, blockquote, cite, tt, br, center
}
}
}

RTE.classesAnchor >
RTE.classesAnchor {
thickbox {
class = thickbox
type = file
}
}

RTE.default.FE.proc >
RTE.config.tt_content.bodytext.proc >
RTE.config.tt_news.bodytext.proc >

RTE.default.FE.proc < RTE.default.proc
RTE.config.tt_content.bodytext.proc < RTE.default.proc
RTE.config.tt_news.bodytext.proc < RTE.default.proc

RTE.config.tt_content.bodytext.proc.overruleMode = ts_links, ts_images
RTE.config.tt_content.bodytext.types.text.proc.overruleMode = ts_links, ts_images, tx_odlinkdesc
RTE.config.tt_content.bodytext.types.textpic.proc.overruleMode = ts_links, ts_images, tx_odlinkdesc
RTE.config.tt_news.bodytext.proc.overruleMode = ts_links, ts_images, tx_odlinkdesc
RTE.config.FE.proc.overruleMode = ts_links, ts_images

(issue imported from #M16038)

Actions #1

Updated by Stanislas Rolland about 14 years ago

Can use reproduce in 4.3+?

I assume that "output" means rendered in the frontend?

But is the html content correct in the database?

Actions #2

Updated by Jan Simbera about 14 years ago

Output is the FE rendered content.
Yes, the HTML content in DB is this:
<table class="obecna">
<thead>
<tr>
<th scope="col">123
</th>
<th scope="col">asdas
</th>
<th scope="col">asd
</th>
<th scope="col">dasd
</th>
</tr>
</thead>
<tbody>
</tbody>
<tbody>
<tr><td>asdasd</td><td>asd</td><td>asdas</td><td>asdasd</td>
</tr>
</tbody>
</table>

Tested on 4.3.8 with identical RTE settings. There was no problem there.

Actions #3

Updated by Stanislas Rolland about 14 years ago

So the problem is fixed in TYPO3 4.3.8?

If the content is correct in the database, then the problem is not one of the RTE, but of FE rendering...

Actions #4

Updated by Jan Simbera about 14 years ago

Yes the problem is fixed on 4.3.8.

Actions #5

Updated by Stanislas Rolland about 14 years ago

Then, I am closing the issue as I don't think it will be fixed in 4.2.

Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF