Escape text passed directly to gfm
This commit is contained in:
parent
496f88afe1
commit
ba72c6f683
7 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue