Fixed too long commit messages in activity log
closes bug 1314624 Change-Id: I5ca92f2ae1f32188e96e24614efe772f3e123527
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user