Commit 987e351de7fb6c98094a1c099c717dacb3f1416e

Authored by Alex Leutgöb
1 parent 0b8e956f

Escape html entities in commit messages

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/events/_event_push.atom.haml
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 %i 6 %i
7 at 7 at
8 = commit.committed_date.strftime("%Y-%m-%d %H:%M:%S") 8 = commit.committed_date.strftime("%Y-%m-%d %H:%M:%S")
9 - %blockquote= simple_format commit.safe_message 9 + %blockquote= simple_format(escape_once(commit.safe_message))
10 - if event.commits_count > 15 10 - if event.commits_count > 15
11 %p 11 %p
12 %i 12 %i