From 1494947b9d6896779b1395ecaf621b874dc9733b Mon Sep 17 00:00:00 2001 From: William Hearn Date: Mon, 11 Jan 2016 16:49:43 -0500 Subject: [PATCH] Issue #2648494: Metatag HTML Entities + Token --- metatag.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metatag.inc b/metatag.inc index fba453d..5d5071a 100644 --- a/metatag.inc +++ b/metatag.inc @@ -166,6 +166,9 @@ class DrupalDefaultMetaTag implements DrupalMetaTagInterface { // doesn't end up with a bunch of a-circumflex characters. $value = str_replace(' ', ' ', $value); + // Convert any HTML entities into regular characters. + $value = decode_entities($value); + // Remove any HTML code that might have been included. $value = strip_tags($value); -- 2.3.8 (Apple Git-58)