mastodon/spec
Eugen Rochko f1f6ddd536
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
2022-02-07 18:16:31 +01:00
..
controllers
fabricators
features
fixtures
helpers
lib Fix structured data parsing from links choking on bad data (#17403) 2022-02-07 18:16:31 +01:00
mailers
models
policies
presenters
requests
routing
serializers/activitypub
services
support
validators
views
workers
rails_helper.rb
spec_helper.rb