From 103e6ea4b582b49158969e53e5104de66455271b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 10 May 2020 01:25:29 +0200 Subject: [PATCH] #123: use JS raw strings --- royalnet/backpack/stars/docs.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/royalnet/backpack/stars/docs.py b/royalnet/backpack/stars/docs.py index 004e1a90..65096f70 100644 --- a/royalnet/backpack/stars/docs.py +++ b/royalnet/backpack/stars/docs.py @@ -37,8 +37,6 @@ class DocsStar(PageStar): } }) - escaped_spec = spec.replace(r"'", r"\'") - return HTMLResponse( f""" @@ -52,7 +50,7 @@ class DocsStar(PageStar):