Remove unused lines

pull/73/head
MillenniumEarl 2021-03-02 19:09:54 +01:00
parent 5337012a32
commit 5b8d6cab31
1 changed files with 1 additions and 5 deletions

View File

@ -161,7 +161,7 @@ function reducePostElement(element: IPostElement): IPostElement {
if (nullValues || sameValues) {
element.name = element.name || content.name;
element.text = element.text || content.text;
element.content = content.content;
element.content.push(...content.content);
element.type = content.type;
// If the content is a link, add the HREF to the element
@ -247,10 +247,6 @@ function parsePostElements(elements: IPostElement[]): IPostElement[] {
// If the text starts with a special char, clean it
const startWithSpecial = specialRegex.test(elements[i].text);
// /^[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/]/
// Get the uppercase text
const upperText = elements[i].text.toUpperCase();
// Get the latest IPostElement in "pairs"
const lastIndex = pairs.length - 1;
const lastPair = pairs[lastIndex];