Typo3 <;链接>;及<;部门>;在表格中再也不起作用了
我从TYPO3 6.2.14更新为6.2.17 到目前为止,我在表div和LINKs中使用了Typo3 <;链接>;及<;部门>;在表格中再也不起作用了,typo3,typo3-6.2.x,Typo3,Typo3 6.2.x,我从TYPO3 6.2.14更新为6.2.17 到目前为止,我在表div和LINKs中使用了 <div style="width:300px">chemistry</div>|Mr. X <link 188>physics</link>|Mrs. Y 化学| X先生 物理| Y女士 这不再有效,我得到以下输出 <table class="contenttable contenttable-0"> <tr class="
<div style="width:300px">chemistry</div>|Mr. X
<link 188>physics</link>|Mrs. Y
化学| X先生
物理| Y女士
这不再有效,我得到以下输出
<table class="contenttable contenttable-0">
<tr class="tr-even tr-0">
<td class="td-0"><div style="width:300px">chemistry</div></td>
<td class="td-last td-1">Mr. X</td>
</tr>
<tr class="tr-odd tr-1">
<td class="td-0">physics</td>
<td class="td-last td-1">Mrs. Y</td>
</tr>
</table>
div style=“宽度:300px”化学/div
X先生
物理学
Y太太
不再被替换,
被“包装”
我怎么才能养成这种老习惯
注意:以下是一个黑客攻击。它会撤消出于(安全)原因所做的更改。我不知道这对安全的影响。最好找到一种不需要破解内核的方法
我没有运行Typo3安装,因此我不能确定,但这可能是导致新行为的变化:
[SECURITY]在元素“table”中用htmlspecialchars替换parseFunc
/sysext/css\u styled\u content/static/v4.5/setup.txt
-20.innerStdWrap.parseFunc=
您可以手动将其更改回
innerStdWrap.parseFunc=
我将Pekka的答案扩展为“非黑客”解决方案
下面的打字脚本修复了此问题
tt_content.table{
20.innerStdWrap.parseFunc =< lib.parseFunc
20.innerStdWrap.htmlSpecialChars >
}
tt_content.table{
20.innerStdWrap.parseFunc=
}
等等,您的HTML源代码中是否有物理
?为什么?
tt_content.table{
20.innerStdWrap.parseFunc =< lib.parseFunc
20.innerStdWrap.htmlSpecialChars >
}