[TYPO3-english] validation problem, space between attributes

Katja Lampela katja.lampela at lieska.net
Thu Nov 7 15:58:54 CET 2013


Yes, this was it, thank you Paul!!
- Katja

5.11.2013 18.25, amadeo Marketing & Design - Paul Garais kirjoitti:
> Hi Katja,
>
> try it with noTrimWrap:
> 40.noTrimWrap = | id="|"|
>
> noTrimWrap doesn't remove the whitespaces. But you need the extra | to
> make it work.
> Here you can find further examples:
> http://wiki.typo3.org/TSref/stdWrap#noTrimWrap
>
>
> - Paul
>
>
>
>
> Am 05.11.2013 17:06, schrieb Katja Lampela:
>> Hi,
>>
>> The ext oxylabstdwrap creates nicely three attributes for all content
>> elements (where it's activated): style, id and class.
>>
>> But with this ts I get validation error in HTML5 document:
>>
>> tt_content.stdWrap.outerWrap >
>> tt_content.stdWrap.outerWrap.cObject = COA
>> tt_content.stdWrap.outerWrap.cObject {
>>   10 = TEXT
>>   10.dataWrap = <div style="{field:tx_oxylabstdwrap_inlinestyle}"
>> class="co-n{cObj:parentRecordNumber}
>>   20 = TEXT
>>   20.field = tx_oxylabstdwrap_class
>>   20.required = 1
>>   20.noTrimWrap = | ||
>>   30 = TEXT
>>   30.value = "
>>   40 = TEXT
>>   40.field = tx_oxylabstdwrap_id
>>   40.wrap = id="|"
>>   40.required = 1
>>   50 = TEXT
>>   50.value = >|</div>
>> }
>>
>> The error is missing space between class and id. The generated html is
>> something like:
>> <div style="" class="co-n1"id="addthis">
>>
>> Any hint how I can add an empty space before id?
>>


-- 
Kind regards,
Katja Lampela
www.lieska.net


More information about the TYPO3-english mailing list