From ccb21b0cdc6051ba3ff663117fa779fb997d8d34 Mon Sep 17 00:00:00 2001 From: Jason McBrayer Date: Thu, 6 Sep 2018 20:51:18 -0400 Subject: [PATCH] Fix formatting problem with redrafts and tags Plus misc. redraft problems --- Pipfile | 2 ++ brutaldon/templates/main/toot_partial.html | 3 ++- brutaldon/views.py | 6 ++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Pipfile b/Pipfile index dd2cedd..13cd8b4 100644 --- a/Pipfile +++ b/Pipfile @@ -23,6 +23,8 @@ six = "*" webencodings = "*" Django = "*" django-html_sanitizer = "*" +inscriptis = "*" +lxml = "*" [dev-packages] diff --git a/brutaldon/templates/main/toot_partial.html b/brutaldon/templates/main/toot_partial.html index 76473df..99d4f2c 100644 --- a/brutaldon/templates/main/toot_partial.html +++ b/brutaldon/templates/main/toot_partial.html @@ -125,7 +125,8 @@ ic-get-from="{% url "redraft" toot.id %}" ic-indicator="#page-load-indicator" ic-target="#main" - ic-select-from-response="#main"> + ic-select-from-response="#main" + ic-push-url="true"> redraft