Skip to content

Commit 8be70f5

Browse files
committed
The previous test was assuming non-quoted data: url... This solves (partially an issue raised by Pascua Theus)
1 parent dd9812a commit 8be70f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

org/w3c/css/values/CssURL.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void set(String s, ApplContext ac, URL base)
9393
if (!urlHeading.startsWith("url"))
9494
throw new InvalidParamException("url", s, ac);
9595
// special case for data url...
96-
if (urlname.startsWith("data:")) {
96+
if (urlname.contains("data:")) {
9797
// no more processing.
9898
value = checkDataURL(urlname);
9999
return;

0 commit comments

Comments
 (0)