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 authored Jul 20, 2023
1 parent 2721b22 commit 07c8c18
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 07c8c18

Please sign in to comment.