Repos / pytaku / 3ccf97cb1d
commit 3ccf97cb1d40d5b8b170d2684e9d1e01d290b771
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Tue Aug 11 21:23:51 2020 +0700

    discord preview preserves newlines for some reason

diff --git a/pyproject.toml b/pyproject.toml
index 075389a..ab605ef 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pytaku"
-version = "0.2.18"
+version = "0.2.19"
 description = ""
 authors = ["Bùi Thành Nhân <hi@imnhan.com>"]
 license = "AGPL-3.0-only"
diff --git a/src/pytaku/templates/chapter.html b/src/pytaku/templates/chapter.html
index 1b6e0eb..ffebe6f 100644
--- a/src/pytaku/templates/chapter.html
+++ b/src/pytaku/templates/chapter.html
@@ -1,8 +1,7 @@
 {% extends 'base.html' %}
 
 {% block title %}
-Chapter {{ num_major }}{% if num_minor %}.{{ num_minor }}{% endif %}
-{% if name %} - {{ name }}{% endif %}
+Chapter {{ num_major }}{% if num_minor %}.{{ num_minor }}{% endif %}{% if name %} - {{ name }}{% endif %}
 {% endblock %}
 
 {% block head %}