Escape text passed directly to gfm

This commit is contained in:
Robert Speicher 2012-09-19 20:21:12 -04:00
parent 496f88afe1
commit ba72c6f683
7 changed files with 7 additions and 7 deletions

View file

@ -5,4 +5,4 @@
%strong.cdark= commit.author_name
–
= image_tag gravatar_icon(commit.author_email), class: "avatar", width: 16
= gfm truncate(commit.title, length: 50) rescue "--broken encoding"
= gfm escape_once(truncate(commit.title, length: 50)) rescue "--broken encoding"