We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 05df606 + 7cd21c5 commit 1486f40Copy full SHA for 1486f40
Source/HtmlRenderer/Parse/CssParser.cs
@@ -553,9 +553,9 @@ private static string ParseBackgroundImageProperty(string propValue)
553
if(endIdx > -1)
554
{
555
endIdx -= 1;
556
- while (startIdx < endIdx && (char.IsWhiteSpace(propValue[startIdx]) || propValue[startIdx] == '\''))
+ while (startIdx < endIdx && (char.IsWhiteSpace(propValue[startIdx]) || propValue[startIdx] == '\'' || propValue[startIdx] == '"'))
557
startIdx++;
558
- while (startIdx < endIdx && (char.IsWhiteSpace(propValue[endIdx]) || propValue[endIdx] == '\''))
+ while (startIdx < endIdx && (char.IsWhiteSpace(propValue[endIdx]) || propValue[endIdx] == '\'' || propValue[endIdx] == '"'))
559
endIdx--;
560
561
if (startIdx <= endIdx)
0 commit comments