From 7fcddf8ee6fa233b58ef0740f29dc25eac86a84b Mon Sep 17 00:00:00 2001 From: Gasper Grom Date: Tue, 14 Mar 2023 08:11:09 +0100 Subject: [PATCH] Fix regex safari --- frontend/.eslintrc.js | 4 +++- frontend/src/modules/activity/components/activity-content.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index eedb27dd55..ffc0ec3109 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -24,6 +24,8 @@ module.exports = { process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'vue/no-v-html': 'off' + 'vue/no-v-html': 'off', + 'vue/no-unused-components': 'warn', + 'no-unused-vars': 'warn' } } diff --git a/frontend/src/modules/activity/components/activity-content.vue b/frontend/src/modules/activity/components/activity-content.vue index 264abee4f3..b3fe5a2591 100644 --- a/frontend/src/modules/activity/components/activity-content.vue +++ b/frontend/src/modules/activity/components/activity-content.vue @@ -162,7 +162,7 @@ export default { .toImage(content) .trim() .replaceAll( - /(?�' ) }