| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-11-09 04:21:26 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2023-11-09 04:21:26 UTC |
| parent | dc9b3608140ca36eae8d46ad35f66b97eef2efdd |
| xmpp/Color.hx | +1 | -1 |
diff --git a/xmpp/Color.hx b/xmpp/Color.hx index 3a93586..ad15120 100644 --- a/xmpp/Color.hx +++ b/xmpp/Color.hx @@ -21,7 +21,7 @@ class Color { return 'data:image/svg+xml,<svg%20xmlns="http://www.w3.org/2000/svg"%20version="1.1"%20width="15"%20height="15"%20viewBox="0%200%2015%2015">' + '<rect%20style="fill:%23' + hex + ';"%20width="15"%20height="15"%20x="0"%20y="0"%20/>' + - '<text%20style="fill:%23ffffff;font-size:8px;font-family:sans-serif;"%20text-anchor="middle"%20dominant-baseline="central"%20x="50%25"%20y="50%25">' + letter + '</text>' + + '<text%20style="fill:%23ffffff;font-size:8px;font-family:sans-serif;"%20text-anchor="middle"%20dominant-baseline="central"%20x="50%25"%20y="50%25">' + StringTools.urlEncode(letter) + '</text>' + '</svg>'; } }