From f158f223769fd1894132c2aadabb9854beab39c3 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 19 Jun 2003 07:06:32 +0000 Subject: [PATCH] Strip HTML from titles for autodiscovery RDF. From Kelson. git-svn-id: http://svn.automattic.com/wordpress/trunk@238 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2-include/b2template.functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 6bc39ac598..9663f04fd9 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -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 ''; }