diff --git a/core/views/expo.py b/core/views/expo.py index d2a5d88..cc1b543 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -306,11 +306,10 @@ def editexpopage(request, path): if m: filefound = True preheader, headerargs, head, postheader, bodyargs, body, postbody = m.groups() - linksmatch = re.match(r'(.*)(.*)', body, re.DOTALL + re.IGNORECASE) - if linksmatch: - body, links = linksmatch.groups() -# if re.search(r"iso-8859-1", html): -# body = str(body, "iso-8859-1") +# linksmatch = re.match(r'(.*)(.*)', body, re.DOTALL + re.IGNORECASE) +# if linksmatch: +# body, links = linksmatch.groups() + else: return HttpResponse(default_head + html + '

HTML Parsing failure:
Page could not be parsed into header and body:
failure detected in expowebpage in views.expo.py

Please edit this :expoweb: page to be in the expected full HTML format .' ) except IOError: