2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 16:51:54 +00:00

[svn] remove nonasc

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8067 by julian @ 11/7/2008 2:25 AM
This commit is contained in:
substantialnoninfringinguser 2009-05-13 05:19:31 +01:00
parent 1f8f972b13
commit a9161e791a
2 changed files with 3 additions and 2 deletions

View File

@ -213,7 +213,8 @@ def Parseloghtml01(year, expedition, txt):
ltriptext = re.sub("</p>", "", triptext)
ltriptext = re.sub("\s*?\n\s*", " ", ltriptext)
ltriptext = re.sub("<p>", "\n\n", ltriptext).strip() ltriptext = re.sub("[^\s0-9a-zA-Z\-.,:;'!]", "NONASCII", ltriptext)
ltriptext = re.sub("<p>", "\n\n", ltriptext).strip()
#ltriptext = re.sub("[^\s0-9a-zA-Z\-.,:;'!]", "NONASCII", ltriptext)
#print ldate, trippeople.strip()
# could includ the tripid (url link for cross referencing)

View File

@ -1,4 +1,4 @@
from localsettings import *
from localsettingsserver import *
# Django settings for troggle2 project.
DEBUG = True