@@ -30,7 +30,7 module ProjectsHelper | |||||
30 | end |
|
30 | end | |
31 |
|
31 | |||
32 | def format_activity_description(text) |
|
32 | def format_activity_description(text) | |
33 | h(truncate(text, 250)) |
|
33 | h(truncate(text, 250).gsub(%r{<(pre|code)>.*$}m, '...')) | |
34 | end |
|
34 | end | |
35 |
|
35 | |||
36 | def project_settings_tabs |
|
36 | def project_settings_tabs |
General Comments 0
You need to be logged in to leave comments.
Login now