Replace some HTML-Codes
This commit is contained in:
parent
d5eb376dd3
commit
e377f73f70
1 changed files with 4 additions and 0 deletions
|
@ -86,4 +86,8 @@ reports.sort(key = lambda x: int(x[3]))
|
|||
for entry in reports:
|
||||
if int(entry[3]) <= options.max_days_old \
|
||||
and int(entry[3]) >= options.min_days_old:
|
||||
entry[2] = re.sub('&', '&', entry[2])
|
||||
entry[2] = re.sub('"', '"', entry[2])
|
||||
entry[2] = re.sub(''', '\'', entry[2])
|
||||
print entry[3], 'days ago:', entry[1], entry[0], entry[2]
|
||||
|
||||
|
|
Loading…
Reference in a new issue