Explorar el Código

버그 수정

2DU hace 8 años
padre
commit
355e9ef075
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      mark.py

+ 2 - 0
mark.py

@@ -204,6 +204,8 @@ def html_pas(data):
             else:
                 pas_end = p_d[0]
 
+            pas_end = re.sub('position: ?[^ ;]*;?', '', pas_end)
+
             try:
                 if(check[1] != None):
                     data = re.sub("<((?:\/)?" + p_d[1] + "(?:\s[^>]*))>", "%phtml%" + pas_end + "%phtml%", data, 1)