[TYPO3-core] Gremlin #1292: xhtml_cleaning cleans HTML comments which is not wanted in any case

Sebastian Kurfuerst sebastian at garbage-group.de
Mon Nov 7 06:45:38 CET 2005


User writes:

This problem regards Trackback [1] functionality of weblogs/EXT:timtab.
To enable trackback autodiscovery for blog tools a peace of rdf code is
place in a HTML comment. This way the page still validates and the
trackback URL can be found by other sites automaticly. The rdf code
looks like this:

<!--
<rdf:RDF ... >
<rdf:Description ... />
</rdf:RDF>
-->

when activating xhtml_cleaning this is transformed to 

<!--
<rdf:rdf ...>
<rdf:description ... />
</rdf:rdf>
-->

which can not be discovered by other sites automaticly. Therfore it is
necessary to leave HTML comments untouched.


Solution:

- leave comments untouched in xhtml_cleaning by replacing them with a
special marker and substituting them back afterwards.


Greets, Sebastian



-- 
Sebastian Kurfuerst
http://garbage-group.de/kontakt.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_1292.patch
Type: text/x-patch
Size: 1433 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051107/79d70544/attachment.bin 


More information about the TYPO3-team-core mailing list