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

Also available in: Atom PDF