Explorar o código

버그 수정

Surplus_Up (2DU) %!s(int64=6) %!d(string=hai) anos
pai
achega
945c146e58
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      route/tool/set_mark/namumark.py

+ 2 - 1
route/tool/set_mark/namumark.py

@@ -145,7 +145,7 @@ def table_start(data):
         cel_num = 0
         table_num = 0
         table_end = ''
-        
+
         table = re.search('\n((?:(?:(?:(?:\|\||\|[^|]+\|)+(?:(?:(?!\|\|).\n*)*))+)\|\|(?:\n)?)+)', data)
         if table:
             table = '\n' + table.groups()[0]
@@ -872,6 +872,7 @@ def namumark(conn, data, title, main_num, include_num):
             break
 
     data = re.sub('<\/ul>\n \|\|', '</ul>||', data)
+    data = re.sub('\|\|</blockquote>', '</blockquote>||', data)
 
     while 1:
         indent = re.search('\n( +)', data)