mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
services: fix custom HTML readme display
This commit is contained in:
parent
b75ac04029
commit
945967d390
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue