diff options
| author | Murtaza Sultani <sultani@data-quest.de> | 2026-02-26 21:28:55 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2026-02-27 15:33:21 +0100 |
| commit | b72596aac0fa609908d5b2507aa56ace6b7f9267 (patch) | |
| tree | f5de07438e098c9edf558242a48a43aed900c2be | |
| parent | 0a556499d04ed5dca4a1e1ab5a1aaad268a7b5df (diff) | |
Resolve "Forum3: Rendering der Kategoriebeschreibung ist fehlerhaft"
Closes #6298
Merge request studip/studip!4769
| -rw-r--r-- | resources/vue/components/forum/categories/CategoryItem.vue | 4 | ||||
| -rw-r--r-- | resources/vue/components/forum/topics/TopicItem.vue | 4 |
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> |
