mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 20:55:30 +02:00
cleanControlCodes -> stripAnsiControlCodes
This commit is contained in:
parent
eeaeef9a8c
commit
f4088303ca
4 changed files with 9 additions and 11 deletions
|
@ -8,7 +8,7 @@ const Config = require('../../config.js').get;
|
|||
const {
|
||||
splitTextAtTerms,
|
||||
isAnsi,
|
||||
cleanControlCodes
|
||||
stripAnsiControlCodes
|
||||
} = require('../../string_util.js');
|
||||
const {
|
||||
getMessageConferenceByTag,
|
||||
|
@ -218,7 +218,7 @@ exports.getModule = class GopherModule extends ServerModule {
|
|||
);
|
||||
} else {
|
||||
const cleaned = stripMciColorCodes(
|
||||
cleanControlCodes(body, { all : true } )
|
||||
stripAnsiControlCodes(body, { all : true } )
|
||||
);
|
||||
const prepped =
|
||||
splitTextAtTerms(cleaned)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue