Selaa lähdekoodia

혹시 모르니까

2DU 8 vuotta sitten
vanhempi
sitoutus
c2e0bbfbbc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -27,7 +27,7 @@ def other2(d):
         if(m):
             g = ''
             for z in m[-6:-1]:
-                g += '<a href="/w/' + url_pas(z) + '">' + z + '</a> / '
+                g += '<a href="/w/' + url_pas(z) + '">' +  html.escape(z) + '</a> / '
             g = re.sub(' / $', '', g)
             
     r = d + [g]