Explorar el Código

버그 수저ㅏㅇ

2DU hace 9 años
padre
commit
56f707febe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -588,7 +588,7 @@ def namumark(title, data):
                 tou = ""
             break
     
-    data = re.sub("\[각주\](?:(?:(?:<br>+)*(?:\s+)*(?:\r+)*(?:\n+))+)?$", "", data)
+    data = re.sub("\[각주\](?:(?:<br>| |\r|\n)+)?$", "", data)
     data = re.sub("\[각주\]", "<br>" + tou, data)
     data = data + tou;