As a continuation of other issues (#1917902: Generate uniform contents, #1978568: Don't output line breaks in meta tags), finish cleaning up the default meta tag output so all tags are properly filtered.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | metatag-n1994630-1.patch | 2.25 KB | damienmckenna |
| #1 | metatag-n1994630-1.patch | 2.56 KB | damienmckenna |
Comments
Comment #1
damienmckennaThis replaces the stripWhitespaces() method with the new tidyValue(), which includes decode_entities(), strip_tags() and removes unwanted whitespace; it also removes the now redundant code from DrupalTextMetaTag::getValue().
Comment #2
damienmckennaThe patch from #1 accidentally included another change.
Comment #3
damienmckennaCommitted.
Comment #5
RaySilver commentedHello,
I'm running version 7.x-1.27 and I have this same problem. Was this committed and should be in this version I'm using or am I supposed to use this patch? This is what I love about drupal.. 7 years later :)
Thanks
Comment #6
damienmckenna@RaySilver: this was committed and released *years* ago, you should open a new issue to discuss the problem you're seeing. Thank you.