services: fix custom HTML readme display

This commit is contained in:
Drew DeVault 2021-01-26 09:01:19 -05:00
parent b75ac04029
commit 945967d390
1 changed files with 1 additions and 1 deletions

View File

@ -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: