diff --git a/src/components/Group/GroupCard.vue b/src/components/Group/GroupCard.vue
index 7ef9c2ed..9b5151fc 100644
--- a/src/components/Group/GroupCard.vue
+++ b/src/components/Group/GroupCard.vue
@@ -40,7 +40,7 @@
@@ -91,7 +91,6 @@ import { addressFullName } from "@/types/address.model";
import { useI18n } from "vue-i18n";
import AccountGroup from "vue-material-design-icons/AccountGroup.vue";
import Account from "vue-material-design-icons/Account.vue";
-import { htmlToText } from "@/utils/html";
import { computed } from "vue";
import LinkOrRouterLink from "../core/LinkOrRouterLink.vue";
@@ -108,8 +107,6 @@ const props = withDefaults(
const { t } = useI18n({ useScope: "global" });
-const saneSummary = computed(() => htmlToText(props.group.summary ?? ""));
-
const isInternal = computed(() => {
return props.isRemoteGroup && props.isLoggedIn === false;
});
diff --git a/src/components/Group/GroupMemberCard.vue b/src/components/Group/GroupMemberCard.vue
index 3693e38f..8a3aa3f5 100644
--- a/src/components/Group/GroupMemberCard.vue
+++ b/src/components/Group/GroupMemberCard.vue
@@ -60,9 +60,9 @@
@@ -95,7 +95,6 @@ import DotsHorizontal from "vue-material-design-icons/DotsHorizontal.vue";
import AccountGroup from "vue-material-design-icons/AccountGroup.vue";
import AccountCircle from "vue-material-design-icons/AccountCircle.vue";
import Tag from "@/components/TagElement.vue";
-import { htmlToText } from "@/utils/html";
import { useI18n } from "vue-i18n";
defineProps<{
diff --git a/src/utils/html.ts b/src/utils/html.ts
index e1baac0b..084970f7 100644
--- a/src/utils/html.ts
+++ b/src/utils/html.ts
@@ -2,15 +2,6 @@ export function nl2br(text: string): string {
return text.replace(/(?:\r\n|\r|\n)/g, "
");
}
-export function htmlToText(html: string) {
- const template = document.createElement("template");
- const trimmedHTML = html.trim();
- template.innerHTML = trimmedHTML;
- const text = template.content.textContent;
- template.remove();
- return text;
-}
-
export const getValueFromMeta = (name: string): string | null => {
const element = document.querySelector(`meta[name="${name}"]`);
if (element && element.getAttribute("content")) {