mirror of https://gitlab.com/bashrc2/epicyon
Summary class
parent
e22572b67a
commit
6a15758ba5
|
@ -167,7 +167,7 @@ def getContentWarningButton(postID: str, translate: {},
|
||||||
content: str) -> str:
|
content: str) -> str:
|
||||||
"""Returns the markup for a content warning button
|
"""Returns the markup for a content warning button
|
||||||
"""
|
"""
|
||||||
return ' <details class="cw"><summary>' + \
|
return ' <details><summary class="cw">' + \
|
||||||
translate['SHOW MORE'] + '</summary>' + \
|
translate['SHOW MORE'] + '</summary>' + \
|
||||||
'<div id="' + postID + '">' + content + \
|
'<div id="' + postID + '">' + content + \
|
||||||
'</div></details>\n'
|
'</div></details>\n'
|
||||||
|
|
Loading…
Reference in New Issue