mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-08 20:11:09 -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
|
|
@ -123,6 +123,10 @@ type Status struct {
|
|||
type WebStatus struct {
|
||||
*Status
|
||||
|
||||
// HTML version of spoiler content
|
||||
// (ie., not converted to plaintext).
|
||||
SpoilerContent string `json:"-"`
|
||||
|
||||
// Override API account with web account.
|
||||
Account *WebAccount `json:"account"`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue