Support » Fixing WordPress » bug in function <?php trackback_rdf(); ?>?

  • I use the following code in index.php and single.php:

    <!–
    <?php trackback_rdf(); ?>
    –>

    when checking the html-output, I noticed, that there is an additional space before < and after >

    <!–
    < rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=”http://purl.org/dc/elements/1.1/” xmlns:trackback=”http://madskills.com/public/xml/rss/module/trackback/” >
    < rdf:Description rdf:about=”REPLACED” dc:identifier=”REPLACED” dc:title=”REPLACED” trackback:ping=”REPLACED” / >
    < /rdf:RDF >
    –>

    Shouldn´t this look like:

    <!–
    <rdf:RDF xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=”http://purl.org/dc/elements/1.1/” xmlns:trackback=”http://madskills.com/public/xml/rss/module/trackback/”>
    <rdf:Description rdf:about=”REPLACED” dc:identifier=”REPLACED” dc:title=”REPLACED” trackback:ping=”REPLACED” />
    </rdf:RDF>
    –>

    HTML-Tags like < a href=”link” >Link < /a > cannot be interpreted by my browser (FF2). Isnt the same true for < rdf >…< /rdf >?

  • The topic ‘bug in function <?php trackback_rdf(); ?>?’ is closed to new replies.