Summary class

merge-requests/8/head
Bob Mottram 2021-01-19 19:27:32 +00:00
parent e22572b67a
commit 6a15758ba5
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ def getContentWarningButton(postID: str, translate: {},
content: str) -> str:
"""Returns the markup for a content warning button
"""
return ' <details class="cw"><summary>' + \
return ' <details><summary class="cw">' + \
translate['SHOW MORE'] + '</summary>' + \
'<div id="' + postID + '">' + content + \
'</div></details>\n'