##// END OF EJS Templates
Strip pre/code tags content from activity view events....
Jean-Philippe Lang -
r1565:810ec643f8cd
parent child
Show More
@@ -30,7 +30,7 module ProjectsHelper
30 30 end
31 31
32 32 def format_activity_description(text)
33 h(truncate(text, 250))
33 h(truncate(text, 250).gsub(%r{<(pre|code)>.*$}m, '...'))
34 34 end
35 35
36 36 def project_settings_tabs
General Comments 0
You need to be logged in to leave comments. Login now