From 945967d390c99ffcc3ca3e1cea5d36fb3e05ff67 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 26 Jan 2021 09:01:19 -0500 Subject: [PATCH] services: fix custom HTML readme display --- hubsrht/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hubsrht/services.py b/hubsrht/services.py index 2612863..1b63726 100644 --- a/hubsrht/services.py +++ b/hubsrht/services.py @@ -116,7 +116,7 @@ class GitService(SrhtService): content = repo["html"] if content: - return Markup(sanitize(content["object"]["text"])) + return Markup(sanitize(content)) content = repo["md"] or repo["markdown"] if content: