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 | bebbad24480f564a8c269f8e73dbeaef1747f080 (patch) | |
tree | bf0883e76298a5d3b54484112e3c1c5ce89a60c9 /flatpages | |
parent | b43bd58f22bfbec17b3e935b97fd14b2392a3962 (diff) | |
download | troggle-bebbad24480f564a8c269f8e73dbeaef1747f080.tar.gz troggle-bebbad24480f564a8c269f8e73dbeaef1747f080.tar.bz2 troggle-bebbad24480f564a8c269f8e73dbeaef1747f080.zip |
Fix the All Survex page to work with 1623 area
Diffstat (limited to 'flatpages')
-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): |