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

@ -236,7 +236,7 @@ func (p *Processor) processContent(
// Strip each poll option and format.
//
// For polls just use basic formatting.
option = text.RemoveHTML(option)
option = text.StripHTMLFromText(option)
optionRes := formatInput(p.formatter.FromPlainBasic, option)
// Gather results of the formatted.