Selaa lähdekoodia

修改静态知识样式

zhangxc 5 vuotta sitten
vanhempi
commit
3fe63ab1a8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>'
       }