mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-08 13:11:12 -06:00
[feature] Parse content warning as HTML, serialize via API to plaintext
This commit is contained in:
parent
69461c461b
commit
22ce924129
47 changed files with 947 additions and 553 deletions
|
|
@ -126,15 +126,15 @@ function StatusBody({ status }: { status: StatusType }) {
|
|||
<div className="status-body">
|
||||
<details className="text-spoiler">
|
||||
<summary>
|
||||
<span
|
||||
className="spoiler-text"
|
||||
<div
|
||||
className="spoiler-content"
|
||||
lang={status.language}
|
||||
>
|
||||
{ status.spoiler_text
|
||||
? status.spoiler_text + " "
|
||||
: "[no content warning set] "
|
||||
}
|
||||
</span>
|
||||
</div>
|
||||
<span
|
||||
className="button"
|
||||
role="button"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue