Skip to content
Snippets Groups Projects

Add auto-cancel for pending pipelines on branch, if they are not HEAD

Compare and Show latest version
10 files
+ 158
15
Compare changes
  • Side-by-side
  • Inline
Files
10
@@ -165,8 +165,8 @@ def event_note(text, options = {})
@@ -165,8 +165,8 @@ def event_note(text, options = {})
sanitize(
sanitize(
text,
text,
tags: %w(a img b pre code p span),
tags: %w(a img gl-emoji b pre code p span),
attributes: Rails::Html::WhiteListSanitizer.allowed_attributes + ['style']
attributes: Rails::Html::WhiteListSanitizer.allowed_attributes + ['style', 'data-name', 'data-unicode-version']
)
)
end
end
Loading