gotosocial/internal/api/client/instance
tobi 5668ce1ec7
[bugfix] Fix HTML escaping in instance title (#607)
* move caption sanitization -> sanitize.go

* use sanitizeplaintext rather than removehtml

* rename sanitizecaption to sanitizeplaintext

* avoid removing html twice from statuses

* unexport remoteHTML
it's no longer used outside the text package so this
makes it less confusing

* test instance PATCH
2022-05-26 11:37:13 +02:00
..
instance.go Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00
instance_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
instanceget.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
instancepatch.go Add Accept header negotiation to relevant API endpoints (#337) 2021-12-11 17:50:00 +01:00
instancepatch_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00