about summary refs log tree commit diff
path: root/app/validators
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-02-07 18:16:31 +0100
committerGitHub <noreply@github.com>2022-02-07 18:16:31 +0100
commitf1f6ddd5362f40e287857750f5e102206bd0e169 (patch)
tree6080f31997793f1a3898eae32de3211d9cab41f2 /app/validators
parent73a782391ca3bc5cbb24fb98065f6a5f4d64f22c (diff)
Fix structured data parsing from links choking on bad data (#17403)
* Fix structured data parsing from links choking on bad data

- Fix og:url meta tag being prioritized over canonical link tag
- Fix structured data parsing choking on commented-out CDATA declarations
- Fix HTML entities in title, description, provider_name, author_name
- Change structured data parsing to attempt every JSON-LD script tag

* Remove unnecessary slash escapes from CDATA regex pattern
Diffstat (limited to 'app/validators')
0 files changed, 0 insertions, 0 deletions