From 64f4290d0c0a0470108bce0f2642718a257e1a5b Mon Sep 17 00:00:00 2001 From: pkholkin Date: Tue, 6 May 2014 14:18:21 +0400 Subject: [PATCH] Fixed too long commit messages in activity log closes bug 1314624 Change-Id: I5ca92f2ae1f32188e96e24614efe772f3e123527 --- stackalytics/processor/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stackalytics/processor/utils.py b/stackalytics/processor/utils.py index 9d86a81ed..4ad38b843 100644 --- a/stackalytics/processor/utils.py +++ b/stackalytics/processor/utils.py @@ -141,7 +141,7 @@ def unwrap_text(text): def format_text(s): s = cgi.escape(re.sub(re.compile('\n{2,}', flags=re.MULTILINE), '\n', s)) - s = re.sub(r'([/\/\*=]{1,2}|--|\+\+)', r'\1​', s) + s = re.sub(r'([/\/\*=~]{1,2}|--|\+\+)', r'\1​', s) return s