Skip to content

Commit ec32eed

Browse files
authored
ROAD-540 Escape HTML in stories' description and extra info fields (#300)
1 parent e1dce76 commit ec32eed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/helpers/application_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ module ApplicationHelper
22
OPTIONS = {
33
hard_wrap: true,
44
link_attributes: {rel: "nofollow", target: "_blank"},
5-
no_intra_emphasis: true
5+
no_intra_emphasis: true,
6+
escape_html: true
67
}.freeze
78

89
EXTENSIONS = {

0 commit comments

Comments
 (0)