NuSkooler / enigma-bbs

ENiGMA½ BBS Software
https://nuskooler.github.io/enigma-bbs/
BSD 2-Clause "Simplified" License
548 stars 105 forks source link

Create a stripAllControlCodes() method for cleaning text #226

Open NuSkooler opened 5 years ago

NuSkooler commented 5 years ago

Issue: There are some calls to strip pipe/MCI, ANSI, etc. but areas like Gopher, NNTP, etc. that need truly "clean" text need more.

Create a stripAllControlCodes() method that can remove pipe, MCI, ANSI, WWIV, PCBoard, etc. ANSI should be optional so this could be used in conjunction with ANSI prep.

tracker1 commented 5 years ago

May want an account/profile option to leave these for NNTP networking.