diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-02-25 20:13:28 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-02-25 20:13:28 +0000 |
commit | 77a6015ad641b3824c6943a0d6d52f6aded7e0a5 (patch) | |
tree | bf0883e76298a5d3b54484112e3c1c5ce89a60c9 /flatpages/views.py | |
parent | 7c15a7439d54e952d631163261d4363f60c78a70 (diff) | |
download | troggle-77a6015ad641b3824c6943a0d6d52f6aded7e0a5.tar.gz troggle-77a6015ad641b3824c6943a0d6d52f6aded7e0a5.tar.bz2 troggle-77a6015ad641b3824c6943a0d6d52f6aded7e0a5.zip |
Fix the All Survex page to work with 1623 area
Diffstat (limited to 'flatpages/views.py')
-rw-r--r-- | flatpages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/views.py b/flatpages/views.py index 672ec0c..8bc25ba 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -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): |