fix: remove whitespace from avatar URL (#537)

Fix #537
This commit is contained in:
Cotes Chung 2022-03-22 21:12:16 +08:00
parent e68108014a
commit 0542b5149c
No known key found for this signature in database
GPG key ID: 0D9E54843167A808

View file

@ -16,7 +16,7 @@
{{ site.avatar | relative_url }} {{ site.avatar | relative_url }}
{% endif %} {% endif %}
{% endcapture %} {% endcapture %}
<img src="{{ avatar_url }}" alt="avatar" onerror="this.style.display='none'"> <img src="{{ avatar_url | strip }}" alt="avatar" onerror="this.style.display='none'">
{% endif %} {% endif %}
</a> </a>
</div> </div>