From: Olivier Matz Date: Sun, 6 Jan 2013 17:43:28 +0000 (+0100) Subject: add "-" in wordbreak chars X-Git-Tag: v1.0~2 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d3eec1a463a86ad546a122605b4b07e29ef5f8ff;p=diff2html.git add "-" in wordbreak chars Signed-off-by: Scito Signed-off-by: Olivier Matz --- diff --git a/diff2html.py b/diff2html.py index 92bbf36..9bbf9b6 100644 --- a/diff2html.py +++ b/diff2html.py @@ -106,7 +106,7 @@ hunk_off1, hunk_size1, hunk_off2, hunk_size2 = 0, 0, 0, 0 # Characters we're willing to word wrap on -WORDBREAK = " \t;.,/):" +WORDBREAK = " \t;.,/):-" def sane(x): r = ""