Skip to content

Commit

Permalink
Merge pull request #2 from chrometoasters/bug/strip_tags
Browse files Browse the repository at this point in the history
Ensure HTML tags are stripped from meta description
  • Loading branch information
michalkleiner committed Jul 14, 2017
2 parents 10ecfb2 + 86c85eb commit b7a91ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getGeneralMetaDescription($dataObject = null)
}
}

return $metaDescription;
return strip_tags($metaDescription);
}


Expand Down

0 comments on commit b7a91ed

Please sign in to comment.