Skip to content

Commit

Permalink
Fix #411
Browse files Browse the repository at this point in the history
  • Loading branch information
mganss committed Aug 3, 2023
1 parent 030d8f7 commit ad12ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HtmlSanitizer/HtmlSanitizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ private void SanitizeStyleDeclaration(IElement element, ICssStyleDeclaration sty
sb.Append(url.Match.Groups[1].Value);
sb.Append(url.Url);
sb.Append(url.Match.Groups[3].Value);
ix = url.Match.Length;
ix = url.Match.Index + url.Match.Length;
}

sb.Append(val, ix, val.Length - ix);
Expand Down

0 comments on commit ad12ca0

Please sign in to comment.