mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-28 20:39:59 +00:00
Resolve issues with unicode characters in author's name
I've been unable to reproduce the issue on macOS with Python 2.7/3.6 and Fedora with Python 2.7, but if it happens for others, then it's worth the change.
This commit is contained in:
parent
51bd2f89df
commit
91ba0f0362
@ -5,7 +5,7 @@
|
|||||||
{% if author is not none %}
|
{% if author is not none %}
|
||||||
<section class="author-bio">
|
<section class="author-bio">
|
||||||
{%if author.image_url is not none %}
|
{%if author.image_url is not none %}
|
||||||
<img src="{{author.image_url}}" alt="{{author.name}}" class="author-photo pull-left">
|
<img src="{{author.image_url}}" alt="{{author.name|safe}}" class="author-photo pull-left">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%if author.about is not none %}
|
{%if author.about is not none %}
|
||||||
|
Loading…
Reference in New Issue
Block a user