mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 16:57: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
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue