dengzedong
2025-06-05 b09aee354bf99c0cd2c869404dd04d091bfaa6b1
src/components/MarkdownView/index.vue
@@ -39,7 +39,10 @@
/** 保留换行符 */
const formatContent = (text) => {
  return text.replace(/\n/g, '<br>')
  if (text) {
    return text.replace(/\n/g, '<br>')
  }
  return text
}
/** 初始化 **/