From d3eec1a463a86ad546a122605b4b07e29ef5f8ff Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Sun, 6 Jan 2013 18:43:28 +0100 Subject: [PATCH] add "-" in wordbreak chars Signed-off-by: Scito Signed-off-by: Olivier Matz --- diff2html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "" -- 2.20.1