Skip to content

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

Use whitespace-pre-wrap to preseve newline and space in comment rendering

Tianzhou Chen0fc9337a61cb
diff --git a/frontend/src/views/TaskActivityPanel.vue b/frontend/src/views/TaskActivityPanel.vue
index bd0db59b1b..97c876cd3a 100644
--- a/frontend/src/views/TaskActivityPanel.vue
+++ b/frontend/src/views/TaskActivityPanel.vue
@@ -78,7 +78,9 @@
'bytebase.task.comment.create'
"
>
- <div class="mt-2 text-sm text-control">
+ <div
+ class="mt-2 text-sm text-control whitespace-pre-wrap"
+ >
{{ activity.attributes.payload.content }}
</div>
</template>