Browse Source

修改静态知识样式

zhangxc 5 năm trước cách đây
mục cha
commit
3fe63ab1a8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/js/information.js

+ 1 - 1
src/js/information.js

@@ -51,7 +51,7 @@ function getInfomation() {
         str += item.title
       }
       str += '</h2></div>' +
-        '<div>' + item.content + '<div>';
+        '<div><pre>' + item.content + '</pre><div>';
       if (i != list.length - 1 && getUrlArgObject('type') != 8) {
         str += '<div class="line"></div>'
       }