Hallo zusammen,
ich habe ein FCE welches ich per Local Processing vor der Ausgabe noch weiter verarbeite. Dabei mach ich per [b]wrap[/b] HTML-Tags um den Inhalt eines Feldes. Diese HTML-Tags werden aber im Frontend sichtbar ausgegeben. Also als würden sie vorher noch durch htmlspecialchars gejagt, obwohl ich dies explizit auf 0 setze.
Mein Local Processing sieht so aus:
[HTML]<t3datastructure>
<root type="array">
<el type="array">
<field_subheadline type="array">
<tx_templavoila type="array">
<typoscript>
<![CDATA[
10 = HTML
10.value = <em>moep</em>
10.value.wrap = <h2>|</h2>
10.value.htmlSpecialChars = 0
#10.if.isTrue.current = 1
]]>
</typoscript>
</tx_templavoila>
</field_subheadline>
<field_shorttext type="array">
<tx_templavoila type="array">
<typoscript>
<![CDATA[
10 = HTML
10.value.current = 1
10.value.wrap = <p><strong>|</strong></p>
10.if.isTrue.current = 1
]]>
</typoscript>
</tx_templavoila>
</field_shorttext>
<field_image_config type="array">
<tx_templavoila type="array">
<typoscript>
<![CDATA[
10 = COA
10.5 = HTML
10.5.value = <div class="image-190">
10.10 = COA
10.10 {
10 = IMAGE
10 {
file {
import = uploads/tx_templavoila/
import.field = field_image
import.listNum = 0
maxW.field = field_image_width
}
altText.field = field_imagealttext
}
20 = TEXT
20.field = field_imagetext
20.wrap = <p>|</p>
}
10.50 = HTML
10.50.value = </div>
10.if.isTrue.field = field_image
]]>
</typoscript>
</tx_templavoila>
</field_image_config>
</el>
</root>
</t3datastructure>
[/HTML]
Zeile 9 und 10 produzieren, wie auch 23, codierte Entities wie zb. & lt;h2& gt; (die Leerstellen sind da, damit das hier im Posting angezeigt wird). Ich habe dieses FCE schon häufiger verwendet und ging bisher immer. Allerdings jetzt zum ersten Mal mit der aktuellsten TV-Version (1.3.7, mit 1.3.6 gings auch nicht) und TYPO3 4.2.1. Was mich sonst noch verwundert ist, dass Zeile 35, 50 und 53 richtiges HTML im FE erzeugen.
Ich hoffe, irgendjemand da draußen weiß Rat.
Danke + Grüße
tpinne

