summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:19:31 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 05:19:31 +0100
commita9161e791a74c7770f69b462b6a21b64b643a89e (patch)
tree27fcb5d1529141bc914d5469bbc680bc4929581d /parsers
parent1f8f972b13a5d0de718ff76d300e36ced362e371 (diff)
downloadtroggle-a9161e791a74c7770f69b462b6a21b64b643a89e.tar.gz
troggle-a9161e791a74c7770f69b462b6a21b64b643a89e.tar.bz2
troggle-a9161e791a74c7770f69b462b6a21b64b643a89e.zip
[svn] remove nonasc
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8067 by julian @ 11/7/2008 2:25 AM
Diffstat (limited to 'parsers')
-rw-r--r--parsers/logbooks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index e4daa6c..bb7d009 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -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)