提交 b5dbf984 作者: chenshiqiang

fix p

上级 3fe34c25
......@@ -94,7 +94,7 @@ class KnowledgeServiceImpl implements IKnowledgeService {
try {
File file = new File(filesStorage + knowledge.getFiles().get(0).getFilePath());
html =DocUtil.convertDocStream2Html(new FileInputStream(file));
String htmlWithTable = html.replace("<p>", "######<p>");
String htmlWithTable = html.replace("</p>", "######</p>");
contentStringList = Arrays.asList(htmlWithTable.split("######"));
} catch (Exception e) {
e.printStackTrace();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论