Skip to content

Commit 5b0d887

Browse files
committed
Add support for SVG data uri
1 parent 3af3dad commit 5b0d887

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/com/inet/lib/less/UrlUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ static void dataUri( CssFormatter formatter, byte[] bytes, String urlStr, String
245245
case "webp":
246246
type = "image/webp;base64";
247247
break;
248+
case "svg":
249+
type = "image/svg+xml";
250+
break;
248251
default:
249252
type = "text/html";
250253
}

0 commit comments

Comments
 (0)