lint fixes

This commit is contained in:
Emi Matchu 2020-11-08 14:35:02 -08:00
parent f6723bb67a
commit 63a17824e5
2 changed files with 1 additions and 2 deletions

View file

@ -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";

View file

@ -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 (