|
@@ -147,7 +147,7 @@ func (c *RagEtaReportController) ArticleDetail() {
|
|
|
content = reportInfo.Content
|
|
|
// 如果是rai报告,则使用纯文本的报告内容
|
|
|
if reportInfo.RaiReportId > 0 {
|
|
|
- content = strings.ReplaceAll(item.TextContent, `\n`, `<br />`)
|
|
|
+ content = strings.ReplaceAll(item.TextContent, "\\n", "<br />")
|
|
|
}
|
|
|
} else {
|
|
|
// 章节报告
|