mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-30 22:46:17 +02:00
A lot of code tidy up
This commit is contained in:
parent
fd86293dbe
commit
9e9dc9af89
16 changed files with 144 additions and 140 deletions
|
@ -887,7 +887,7 @@ module.exports = class Message {
|
|||
} else {
|
||||
const QUOTE_RE = /^ ((?:[A-Za-z0-9]{2}> )+(?:[A-Za-z0-9]{2}>)*) */;
|
||||
const quoted = [];
|
||||
const input = _.trimEnd(this.message).replace(/\x08/g, '');
|
||||
const input = _.trimEnd(this.message).replace(/\x08/g, ''); // eslint-disable-line no-control-regex
|
||||
|
||||
// find *last* tearline
|
||||
let tearLinePos = this.getTearLinePosition(input);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue