MCPcopy Create free account
hub / github.com/AudDMusic/RedditBot / removeFormatting

Function removeFormatting

main.go:553–559  ·  view source on GitHub ↗
(response string)

Source from the content-addressed store, hash-verified

551}
552
553func removeFormatting(response string) string {
554 response = strings.ReplaceAll(response, "**", "*")
555 response = strings.ReplaceAll(response, "*", "\\*")
556 response = strings.ReplaceAll(response, "`", "'")
557 response = strings.ReplaceAll(response, "^", "")
558 return response
559}
560
561const enterpriseChunkLength = 12
562

Callers 1

HandleQueryMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected