mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 22:07:29 -06:00
rename some of the text functions for clarity
This commit is contained in:
parent
a05d4bac53
commit
c8556cfd97
16 changed files with 145 additions and 124 deletions
|
|
@ -339,7 +339,7 @@ func NormalizeIncomingName(item WithName, rawJSON map[string]interface{}) {
|
|||
//
|
||||
// todo: We probably want to update this to allow
|
||||
// *escaped* HTML markup, but for now just nuke it.
|
||||
name = text.RemoveHTML(name)
|
||||
name = text.StripHTMLFromText(name)
|
||||
|
||||
// Set normalized name property from the raw string; this
|
||||
// will replace any existing name property on the item.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue