From 04e8bdb02ae891e1856c3728a9e5c15da8befa5e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 7 May 2020 02:30:53 +0200 Subject: [PATCH] publish: 5.8.5 --- pyproject.toml | 2 +- royalnet/backpack/stars/docs.py | 4 +++- royalnet/version.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d3ecf0cd..7efe78a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "royalnet" - version = "5.8.4" + version = "5.8.5" description = "A multipurpose bot and web framework" authors = ["Stefano Pigozzi "] license = "AGPL-3.0+" diff --git a/royalnet/backpack/stars/docs.py b/royalnet/backpack/stars/docs.py index fb395294..004e1a90 100644 --- a/royalnet/backpack/stars/docs.py +++ b/royalnet/backpack/stars/docs.py @@ -37,6 +37,8 @@ class DocsStar(PageStar): } }) + escaped_spec = spec.replace(r"'", r"\'") + return HTMLResponse( f""" @@ -50,7 +52,7 @@ class DocsStar(PageStar):