소스 검색

뒤로 보내자

2DU 8 년 전
부모
커밋
4c308ed776
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mark.py

+ 2 - 2
mark.py

@@ -1170,7 +1170,7 @@ def namumark(title, data, num):
     data = re.sub('<isbr>', '\r\n', data)
     data = re.sub('^<br>', '', data)
 
-    data = "<script> \
+    data += "<script> \
                 function folding(num) { \
                     var fol = document.getElementById('folding_' + num); \
                     if(fol.style.display == 'inline-block' || fol.style.display == 'block') { \
@@ -1183,7 +1183,7 @@ def namumark(title, data, num):
                         } \
                     } \
                 } \
-            </script>" + data
+            </script>"
     
     conn.close()
     return(data)