diff --git a/src/utils/exportUtils/exportCSS.ts b/src/utils/exportUtils/exportCSS.ts index ff5c714079..36dcea76bb 100644 --- a/src/utils/exportUtils/exportCSS.ts +++ b/src/utils/exportUtils/exportCSS.ts @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 +http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ - /* eslint-disable max-len */ + const lightCSS = `@charset "utf-8"; .hljs-addition { background: #dfd; diff --git a/src/utils/exportUtils/exportIcons.ts b/src/utils/exportUtils/exportIcons.ts index 865fb08a06..181a62848e 100644 --- a/src/utils/exportUtils/exportIcons.ts +++ b/src/utils/exportUtils/exportIcons.ts @@ -1,7 +1,7 @@ -import Trash from "!!raw-loader!../../../res/img/element-icons/trashcan.svg"; -import Attach from "!!raw-loader!../../../res/img/element-icons/room/composer/attach.svg"; +import trashSVG from "!!raw-loader!../../../res/img/element-icons/trashcan.svg"; +import attachSVG from "!!raw-loader!../../../res/img/element-icons/room/composer/attach.svg"; export default { - "trash.svg": Trash, - "attach.svg": Attach, + "trash.svg": trashSVG, + "attach.svg": attachSVG, }; diff --git a/src/utils/exportUtils/exportUtils.ts b/src/utils/exportUtils/exportUtils.ts index 6b356c3ed2..9b360fb3f1 100644 --- a/src/utils/exportUtils/exportUtils.ts +++ b/src/utils/exportUtils/exportUtils.ts @@ -1,5 +1,5 @@ /* -Copyright 2018-2021 The Matrix.org Foundation C.I.C. +Copyright 2021 The Matrix.org Foundation C.I.C. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.