Merge pull request #3023 from dato/series_name_urlencode
URL-encode book series name when linking to it
This commit is contained in:
commit
d7ba0e3a8a
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
||||||
<meta itemprop="volumeNumber" content="{{ book.series_number }}">
|
<meta itemprop="volumeNumber" content="{{ book.series_number }}">
|
||||||
|
|
||||||
{% if book.authors.exists %}
|
{% if book.authors.exists %}
|
||||||
<a href="{% url 'book-series-by' book.authors.first.id %}?series_name={{ book.series }}">
|
<a href="{% url 'book-series-by' book.authors.first.id %}?series_name={{ book.series | urlencode }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %}
|
{{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %}
|
||||||
{% if book.authors.exists %}
|
{% if book.authors.exists %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue