Skip to content

Commit

Permalink
ignore soft-hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
edsu committed Jan 19, 2017
1 parent 58f50cd commit 0563c3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diffengine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ def _normal(s):
s = s.replace('”', '"')
s = s.replace("’", "'")
s = s.replace("\n", " ")
s = s.replace("­", "")
s = re.sub(r' +', ' ', s)
return s

Expand Down

0 comments on commit 0563c3a

Please sign in to comment.