[Typo3-shop] XHTML Compliance

Nick Weisser typo3 at openstream.ch
Mon Jan 30 13:47:53 CET 2006


Franz Holzinger wrote:
>> I've found a small bug in lib/class.tx_ttproducts_list_view.php with
>> reference to XHTML compliance in line 327:
>>
>> $markerArray['###PRODUCT_NOTE###'] =
>> substr($markerArray['###PRODUCT_NOTE###'], 0,
>> $this->conf['max_note_length']) . '...';
>>
>> is missing a closing p tag.
>>
>> The entire ###PRODUCT_NOTE### marker contains something like this
>>
>> <p class="bodytext">blabla ...</p>
> 
> This might be the case with your shop implementation but not a general one.

Hi Franz,

You're right.

The easiest approach thing might be to simply strip all html tags from 
###PRODUCT_NOTE### for this part of the template only.
-- 
Regards
Nick Weisser

Openstream Internet Solutions
http://www.openstream.ch



More information about the TYPO3-project-tt-products mailing list