Incorrect regular expression

Created on 19 November 2019, about 5 years ago
Updated 18 February 2023, almost 2 years ago

Attributes in meta tags can be in different order. But the current pattern can only get one case.
E.g. when we have the following tag:
<meta property="og:image" content="https://ichef.bbci.co.uk/news/1024/branded_news/ACA3/production/_109659144_16818e1a-1633-4a98-80f8-f5f9c7a89f15.jpg" />
then everything will be fine.
But for the case of
<meta content="https://cdn.cnn.com/cnnnext/dam/assets/190213130628-02-wandering-earth-china-super-tease.jpg" property="og:image">
the code doesn't work.

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine HitchShock Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024