From 70acfb1230db751c06aeae54a00ea9b780b2197e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 12 May 2024 21:03:46 +0200 Subject: [PATCH] urlencode cursors, otherwise it fails on # and similar --- Cargo.lock | 2 +- little-hesinde/Cargo.toml | 2 +- little-hesinde/src/lib.rs | 2 +- little-hesinde/templates/authors.html | 4 ++-- little-hesinde/templates/books.html | 4 ++-- little-hesinde/templates/series.html | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c937435..5821e7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -889,7 +889,7 @@ dependencies = [ [[package]] name = "little-hesinde" -version = "0.1.2" +version = "0.1.3" dependencies = [ "calibre-db", "clap", diff --git a/little-hesinde/Cargo.toml b/little-hesinde/Cargo.toml index 15e1c97..ce5b5b5 100644 --- a/little-hesinde/Cargo.toml +++ b/little-hesinde/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "little-hesinde" -version = "0.1.2" +version = "0.1.3" edition = "2021" license = { workspace = true } authors = { workspace = true } diff --git a/little-hesinde/src/lib.rs b/little-hesinde/src/lib.rs index f28b0ec..86af4f6 100644 --- a/little-hesinde/src/lib.rs +++ b/little-hesinde/src/lib.rs @@ -71,7 +71,7 @@ pub mod opds { pub mod templates; pub const APP_NAME: &str = "little-hesinde"; -pub const VERSION: &str = "0.1.2"; +pub const VERSION: &str = "0.1.3"; /// Internal marker data in lieu of a proper `Accept` header. #[derive(Debug, Clone, Copy)] diff --git a/little-hesinde/templates/authors.html b/little-hesinde/templates/authors.html index c06a92b..7ed2964 100644 --- a/little-hesinde/templates/authors.html +++ b/little-hesinde/templates/authors.html @@ -1,12 +1,12 @@ {% extends "base" %} {% block title %} {% if has_previous %} -← back +← back {% endif %} {% if has_previous and has_more %}|{% endif%} {% if has_more %} -more → +more → {% endif %} {% endblock title %} diff --git a/little-hesinde/templates/books.html b/little-hesinde/templates/books.html index 1297425..b378c46 100644 --- a/little-hesinde/templates/books.html +++ b/little-hesinde/templates/books.html @@ -1,12 +1,12 @@ {% extends "base" %} {% block title %} {% if has_previous %} -← back +← back {% endif %} {% if has_previous and has_more %}|{% endif%} {% if has_more %} -more → +more → {% endif %} {% endblock title %} diff --git a/little-hesinde/templates/series.html b/little-hesinde/templates/series.html index c719c9b..fd45715 100644 --- a/little-hesinde/templates/series.html +++ b/little-hesinde/templates/series.html @@ -1,12 +1,12 @@ {% extends "base" %} {% block title %} {% if has_previous %} -← back +← back {% endif %} {% if has_previous and has_more %}|{% endif%} {% if has_more %} -more → +more → {% endif %} {% endblock title %}