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,
|
MenuButton,
|
||||||
MenuList,
|
MenuList,
|
||||||
MenuItem,
|
MenuItem,
|
||||||
useBreakpointValue,
|
|
||||||
} from "@chakra-ui/core";
|
} from "@chakra-ui/core";
|
||||||
import { HamburgerIcon } from "@chakra-ui/icons";
|
import { HamburgerIcon } from "@chakra-ui/icons";
|
||||||
import { Link, useLocation } from "react-router-dom";
|
import { Link, useLocation } from "react-router-dom";
|
||||||
|
|
|
@ -323,7 +323,7 @@ function MarkdownAndSafeHTML({ children }) {
|
||||||
ALLOWED_ATTR: ["href", "class"],
|
ALLOWED_ATTR: ["href", "class"],
|
||||||
// URL must either start with an approved host (external link), or with a
|
// URL must either start with an approved host (external link), or with a
|
||||||
// slash or hash (internal link).
|
// 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 (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue