HTML does not really work when Load content dynamically is on

Status
Not open for further replies.
1 comment
Hi,
&8211; is the ASCII code for the dash character.
Try this code:
PHP:
function cleanWPMess($content)
{
    $content = str_replace(array("–"), "-", $content);
    return $content;
}
add_filter('the_title', 'cleanWPMess');
add_filter('the_content', 'cleanWPMess');
add_filter('the_excerpt', 'cleanWPMess');

Add it to your theme's functions.php file.
 
Status
Not open for further replies.
Back
Top