diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2022-03-31 00:07:47 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2022-03-31 00:07:47 +0100 |
commit | a9ef96f84e2132b0f5e81c601b43e84368324694 (patch) | |
tree | 7789f97ce0a947591533cc3fface471c9b8170b3 /core/views/expo.py | |
parent | 3390a62020ffcaf4971bc4031549c5bcd297b0d5 (diff) | |
download | troggle-a9ef96f84e2132b0f5e81c601b43e84368324694.tar.gz troggle-a9ef96f84e2132b0f5e81c601b43e84368324694.tar.bz2 troggle-a9ef96f84e2132b0f5e81c601b43e84368324694.zip |
whackety whack
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index 349b31c..ac5e369 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -131,7 +131,7 @@ def expowebpage(request, expowebpath, path): except: try: with open(os.path.normpath(expowebpath / path), "rb") as o: - html = str(o.read()).replace("<title>","<title>BAD NON-UTF-* characters -") + html = str(o.read()).replace("<h1>","<h1>BAD NON-UTF-* characters -") except: return HttpResponse(default_head + '<h3>UTF-8 Parsing Failure:<br>Page could not be parsed using UTF-8:<br>failure detected in expowebpage in views.expo.py</h3> Please edit this <var>:expoweb:</var> page to replace dubious umlauts and £ symbols with correct HTML entities e.g. <em>&pound;;</em>. </body' ) |