Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 44ef972

Browse files
authored
Update index.php
1 parent ee9d345 commit 44ef972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubUserCard/index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class="header"
8484
y="0"
8585
height="120"
8686
width="120"
87-
xlink:href="'.base64_encode(file_get_contents($data->avatar_url)).'"
87+
xlink:href="data:image/png;base64,'.base64_encode(file_get_contents($data->avatar_url)).'"
8888
clip-path="url(#clip)"
8989
/>
9090
</g>

0 commit comments

Comments
 (0)