From 5db3b0cb08453cd8ccc667b75b266ec586615cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= Date: Fri, 3 Nov 2023 09:57:18 +0100 Subject: [PATCH 1/3] Move function tests to `functions/tests` --- .../functionsUtil.test.js => functions/tests/unit/util.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/unit/functionsUtil.test.js => functions/tests/unit/util.test.js (92%) diff --git a/tests/unit/functionsUtil.test.js b/functions/tests/unit/util.test.js similarity index 92% rename from tests/unit/functionsUtil.test.js rename to functions/tests/unit/util.test.js index fcb7e3b06..4290296d1 100644 --- a/tests/unit/functionsUtil.test.js +++ b/functions/tests/unit/util.test.js @@ -1,4 +1,4 @@ -import sheetIdFromUrl from '../../functions/util/util'; +import sheetIdFromUrl from '../../util/util'; describe('Function utils', () => { test('gets the Google Sheet ID from a URL', () => { From 24f50494ff937da13c4638901ed6d4a07f323d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= Date: Wed, 1 Nov 2023 14:48:37 +0100 Subject: [PATCH 2/3] Fix Markdown rendering in descriptions Fix Markdown rendering of descriptions on objective, key result, and measurement detail pages. --- CHANGELOG.md | 5 +++++ src/components/HTMLOutput.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 662bd86be..9be2dffdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,11 @@ All notable changes to this project will be documented in this file. The format - New key results are now given a start value of 0, a target value of 100, and percentage as unit of measurement by default. +### Fixed + +- Fixed Markdown rendering of descriptions on objective, key result, and + measurement detail pages. + ### Security - More security headers are now set: `Content-Security-Policy`, diff --git a/src/components/HTMLOutput.vue b/src/components/HTMLOutput.vue index ee94f023b..0a900695c 100644 --- a/src/components/HTMLOutput.vue +++ b/src/components/HTMLOutput.vue @@ -1,5 +1,5 @@