From 2de1109da39a46200e741b5a6643ce7fb1418041 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Mon, 23 May 2016 13:21:02 -0400 Subject: Enable Performance/StartWith cop and fix offenses --- app/helpers/gitlab_markdown_helper.rb | 2 +- app/helpers/tab_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/helpers') diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb index 3a45205563e..0a1b48af219 100644 --- a/app/helpers/gitlab_markdown_helper.rb +++ b/app/helpers/gitlab_markdown_helper.rb @@ -13,7 +13,7 @@ module GitlabMarkdownHelper def link_to_gfm(body, url, html_options = {}) return "" if body.blank? - escaped_body = if body =~ /\A\