lint fixes
This commit is contained in:
parent
f6723bb67a
commit
63a17824e5
2 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ import {
|
|||
MenuButton,
|
||||
MenuList,
|
||||
MenuItem,
|
||||
useBreakpointValue,
|
||||
} from "@chakra-ui/core";
|
||||
import { HamburgerIcon } from "@chakra-ui/icons";
|
||||
import { Link, useLocation } from "react-router-dom";
|
||||
|
|
|
@ -323,7 +323,7 @@ function MarkdownAndSafeHTML({ children }) {
|
|||
ALLOWED_ATTR: ["href", "class"],
|
||||
// URL must either start with an approved host (external link), or with a
|
||||
// slash or hash (internal link).
|
||||
ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com)\/|^[\/#]/,
|
||||
ALLOWED_URI_REGEXP: /^https?:\/\/(impress\.openneo\.net|impress-2020\.openneo\.net|www\.neopets\.com|neopets\.com)\/|^[/#]/,
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue