Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unqualified image src attrs #513

Merged
merged 3 commits into from
Aug 15, 2024
Merged

Handle unqualified image src attrs #513

merged 3 commits into from
Aug 15, 2024

Conversation

samwilson
Copy link
Member

Add the domain name to image src values that don't have one, to support WikiHiero. Also move the protocol-relative handling out of the PageParser so that it can go along with the new domain name adding in one place.

Bug: T354242

Add the domain name to image src values that don't have one, to
support WikiHiero. Also move the protocol-relative handling out
of the PageParser so that it can go along with the new domain
name adding in one place.

Bug: T354242
@samwilson samwilson merged commit 716f373 into main Aug 15, 2024
5 checks passed
@samwilson samwilson deleted the unfull-url branch August 15, 2024 00:21
samwilson added a commit that referenced this pull request Aug 15, 2024
The change I made in #513 fixed the URLs after they were used
to fetch the images! This moves that same logic to the location
in which it'll actually work. Sorry for the noise!

Bug: T354242
samwilson added a commit that referenced this pull request Aug 15, 2024
The change I made in #513 fixed the URLs after they were used
to fetch the images! This moves that same logic to the location
in which it'll actually work. Sorry for the noise!

Bug: T354242
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants