2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 03:37:18 +00:00

Fix the All Survex page to work with 1623 area

This commit is contained in:
Sam Wenham
2019-02-25 20:13:28 +00:00
parent 7c15a7439d
commit 77a6015ad6
3 changed files with 8 additions and 7 deletions

View File

@@ -116,7 +116,7 @@ def editflatpage(request, path):
if m:
filefound = True
preheader, headerargs, head, postheader, bodyargs, body, postbody = m.groups()
linksmatch = re.match('(.*)(<ul\s+id="links">.*)', body, re.DOTALL + re.IGNORECASE)
linksmatch = re.match(r'(.*)(<ul\s+id="links">.*)', body, re.DOTALL + re.IGNORECASE)
if linksmatch:
body, links = linksmatch.groups()
if re.search(r"iso-8859-1", html):