diff options
author | 2024-02-05 20:21:30 -0500 | |
---|---|---|
committer | 2024-02-06 02:21:30 +0100 | |
commit | 66a6847fd09c90e1cecccce38cdeb61f3e48675a (patch) | |
tree | fd97362c6812b4335d5d8176ba048ff98b681e0d /lib/php-urljoin | |
parent | 7931f37a835b3fd39093fd7de15f1b2a0263747d (diff) | |
download | rss-bridge-66a6847fd09c90e1cecccce38cdeb61f3e48675a.tar.gz rss-bridge-66a6847fd09c90e1cecccce38cdeb61f3e48675a.tar.zst rss-bridge-66a6847fd09c90e1cecccce38cdeb61f3e48675a.zip |
Two fixes to DeutscheWelle (#3954)
* [DeutscheWelleBridge] Small URL fix.
Reset the $item's uri value after removing the tracking query string.
* [DeutscheWelleBridge] Fix "hero" images.
The main "hero" image for each article has src="" and relies on the
srcset attribute for the browser to pick the best image based on the
actual displayed size.
The call to `defaultLinkTo()` replaces the empty src with the article's
link, which, not being an image, breaks the image.
This change resets the src's of any such images back to "".
Diffstat (limited to 'lib/php-urljoin')
0 files changed, 0 insertions, 0 deletions