Right now I've modified this code
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" /> to be this code
<meta name="description" content="<?php echo strip_tags($this->getDescription()) ?>" /> and all the horrible html has been stripped from my meta descriptions that are auto generated from the description if left empty. Any idea how I could modify this to remove and replace it with a space as well?
and replace with ` `str_replace(' ', ' ', $this->getDescription());