Strip HTML from titles for autodiscovery RDF. From Kelson.

git-svn-id: http://svn.automattic.com/wordpress/trunk@238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-06-19 07:06:32 +00:00
parent 062c930a09
commit f158f22376
1 changed files with 1 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ function trackback_rdf($timezone = 0) {
echo ' dc:identifier="';
permalink_single();
echo '"'."\n";
echo ' dc:title="'.addslashes(get_the_title()).'"'."\n";
echo ' dc:title="'.addslashes(strip_tags(get_the_title())).'"'."\n";
echo ' trackback:ping="'.trackback_url(0).'"'." />\n";
echo '</rdf:RDF>';
}