From 064a0eb79e74a7613a79238edc904f03121aba2b Mon Sep 17 00:00:00 2001 From: saxmatt Date: Wed, 7 May 2003 04:10:10 +0000 Subject: [PATCH] Quote problem could cause invalid markup. git-svn-id: http://svn.automattic.com/wordpress/trunk@20 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2-include/b2template.functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b2-include/b2template.functions.php b/b2-include/b2template.functions.php index 234e322520..88b975fd42 100644 --- a/b2-include/b2template.functions.php +++ b/b2-include/b2template.functions.php @@ -536,7 +536,7 @@ function previous_post($format='%', $previous='previous post: ', $title='yes', $ $p_id = $p_info->ID; $string = ''.$previous; if (!($title!='yes')) { - $string .= stripslashes($p_title); + $string .= wptexturize(stripslashes($p_title)); } $string .= ''; $format = str_replace('%',$string,$format); @@ -581,7 +581,7 @@ function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat= $p_id = $p_info->ID; $string = ''.$next; if ($title=='yes') { - $string .= stripslashes($p_title); + $string .= wptexturize(stripslashes($p_title)); } $string .= ''; $format = str_replace('%',$string,$format);