rename some of the text functions for clarity

This commit is contained in:
tobi 2025-03-07 11:40:44 +01:00
commit c8556cfd97
16 changed files with 145 additions and 124 deletions

View file

@ -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.