Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: duplicated escaping (#10363)

Liu Ji65deebfd481a
diff --git a/frontend/src/components/IssueV1/components/IssueTableV1.vue b/frontend/src/components/IssueV1/components/IssueTableV1.vue
index b396c9c1f5..f9b2e91c4f 100644
--- a/frontend/src/components/IssueV1/components/IssueTableV1.vue
+++ b/frontend/src/components/IssueV1/components/IssueTableV1.vue
@@ -141,7 +141,6 @@
<script lang="ts" setup>
import { useElementSize } from "@vueuse/core";
-import { escape } from "lodash-es";
import { NCheckbox, NPerformantEllipsis } from "naive-ui";
import { reactive, computed, watch, ref } from "vue";
import { useI18n } from "vue-i18n";
@@ -380,8 +379,8 @@ const highlights = computed(() => {
const highlight = (content: string) => {
return getHighlightHTMLByRegExp(
- escape(content),
- highlights.value.map((kw) => escape(kw)),
+ content,
+ highlights.value,
/* !caseSensitive */ false,
/* className */ "bg-yellow-100"
);