Skip to content

Commit

Permalink
Update lychee-lib/src/extract/html/srcset.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo McNally <[email protected]>
  • Loading branch information
mre and HU90m committed Jul 29, 2023
1 parent 4abfeef commit d356bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lychee-lib/src/extract/html/srcset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub(crate) fn parse(input: &str) -> Vec<&str> {
info!("srcset parse Error");
return vec![];
}
index += start.char_indices().count();
index += start.chars().count();

if remaining.is_empty() {
return candidates;
Expand Down

0 comments on commit d356bee

Please sign in to comment.