aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorMurtaza Sultani <sultani@data-quest.de>2026-02-26 21:28:55 +0100
committerMurtaza Sultani <sultani@data-quest.de>2026-02-26 21:28:55 +0100
commit9dfb66dbc2e55d1aab5fc3499b159ae9e0c3c7a2 (patch)
tree6f5019c3f9a86399cdd3018fbab66441b13c4696 /resources
parent48f0570711870f913e9bbf6ea3c69faeedf0f4ad (diff)
Resolve "Forum3: Rendering der Kategoriebeschreibung ist fehlerhaft"
Closes #6298 Merge request studip/studip!4769
Diffstat (limited to 'resources')
-rw-r--r--resources/vue/components/forum/categories/CategoryItem.vue4
-rw-r--r--resources/vue/components/forum/topics/TopicItem.vue4
2 files changed, 4 insertions, 4 deletions
diff --git a/resources/vue/components/forum/categories/CategoryItem.vue b/resources/vue/components/forum/categories/CategoryItem.vue
index e20a249..d46a6d9 100644
--- a/resources/vue/components/forum/categories/CategoryItem.vue
+++ b/resources/vue/components/forum/categories/CategoryItem.vue
@@ -116,7 +116,7 @@ const swapCategory = event => {
</div>
</div>
<p v-if="category.description">
- <small class="line-clamp-3">{{ category.description }}</small>
+ <small class="line-clamp-3" v-html="category.description"></small>
</p>
</div>
</div>
@@ -250,7 +250,7 @@ const swapCategory = event => {
</div>
</div>
<p>
- <small class="line-clamp-3">{{ category.description }}</small>
+ <small class="line-clamp-3" v-html="category.description"></small>
</p>
</div>
<div>
diff --git a/resources/vue/components/forum/topics/TopicItem.vue b/resources/vue/components/forum/topics/TopicItem.vue
index e5a5620..ed459f4 100644
--- a/resources/vue/components/forum/topics/TopicItem.vue
+++ b/resources/vue/components/forum/topics/TopicItem.vue
@@ -115,7 +115,7 @@ const swapTopic = event => {
</div>
</div>
<p v-if="topic.description">
- <small class="line-clamp-3">{{ topic.description }}</small>
+ <small class="line-clamp-3" v-html="topic.description"></small>
</p>
</div>
</div>
@@ -242,7 +242,7 @@ const swapTopic = event => {
</div>
</div>
<p>
- <small class="line-clamp-3">{{ topic.description }}</small>
+ <small class="line-clamp-3" v-html="topic.description "></small>
</p>
</div>
<div>