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.

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new2.56 KB

This 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().

damienmckenna’s picture

StatusFileSize
new2.25 KB

The patch from #1 accidentally included another change.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

RaySilver’s picture

Hello,

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

damienmckenna’s picture

Issue summary: View changes

@RaySilver: this was committed and released *years* ago, you should open a new issue to discuss the problem you're seeing. Thank you.