Fix: add check for missing 'noopener' attributes; add missing noopener attributes

This commit is contained in:
Pieter Vander Vennet 2023-09-02 02:04:59 +02:00
parent 39572f4767
commit 6e8617c93f
11 changed files with 470 additions and 468 deletions

View file

@ -1,5 +1,4 @@
import colors from "./assets/colors.json"
import { HTMLElement } from "node-html-parser"
export class Utils {
/**
@ -490,7 +489,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
"\nThe value is",
v
)
v = (<HTMLElement>v.InnerConstructElement())?.textContent
v = v.InnerConstructElement()?.textContent
}
if (typeof v !== "string") {