Escape html entities in commit messages
This commit is contained in:
parent
0b8e956f32
commit
987e351de7
|
@ -6,7 +6,7 @@
|
||||||
%i
|
%i
|
||||||
at
|
at
|
||||||
= commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
|
= commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
|
||||||
%blockquote= simple_format commit.safe_message
|
%blockquote= simple_format(escape_once(commit.safe_message))
|
||||||
- if event.commits_count > 15
|
- if event.commits_count > 15
|
||||||
%p
|
%p
|
||||||
%i
|
%i
|
||||||
|
|
Loading…
Reference in New Issue