2DU 9 lat temu
rodzic
commit
5b49280163
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      mark.py

+ 2 - 2
mark.py

@@ -433,7 +433,7 @@ def namumark(title, data):
                 data = re.sub("\[\[파일:((?:(?!\]\]|\?).)*)(?:\?((?:(?!\]\]).)*))?\]\]", "<a href='/w/파일:" + img + "'><img src='/image/" + img + "'></a>", data, 1)
 
             if(not re.search("^파일:([^\n]*)", title)):
-                backlink_plus(title, '파일' + c[0], 'file')            
+                backlink_plus(title, '파일:' + c[0], 'file')            
         else:
             break
     
@@ -1010,4 +1010,4 @@ def namumark(title, data):
     data = re.sub('\n', '<br>', data)
     data = re.sub('^<br>', '', data)
     
-    return data
+    return data