pub / stories

Top News Aggregator
git clone src.jayvii.de/pub/stories.git
Home | Log | Files | Exports | Refs | RSS

commit 5eed7a5aa8edf342c7d12f106d70f6477e7beb29
parent a58112c01584f41997767d070a19cdfe15ccadeb
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon,  2 Nov 2026 22:20:31 +0100

fix: prevent matching og:image:width

Diffstat:
Mlib/og_image.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/og_image.php b/lib/og_image.php @@ -10,7 +10,7 @@ $html = explode( // If HTML could be fetched, extract lines with og:image if (!empty($html)) { $image_lines = preg_grep( - '/property=(\'|")*og:image(\'|")*/', + '/property=(\'|")*og:image(\'|")*[^:]/', $html ); $image_url = preg_replace(