Skip to content

Commit

Permalink
[fix] markdown 表格内没有换行 (Chanzhaoyu#1492)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglong001 authored and weiyu committed Apr 28, 2023
1 parent ec9e660 commit f1461da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/chat/components/Message/Text.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const { isMobile } = useBasicLayout()
const textRef = ref<HTMLElement>()
const mdi = new MarkdownIt({
html: true,
linkify: true,
highlight(code, language) {
const validLang = !!(language && hljs.getLanguage(language))
Expand Down

0 comments on commit f1461da

Please sign in to comment.