diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-21 17:32:18 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:31:56 -0600 |
commit | b7d8df503cf35b3048b273dc0cadb5ec39aac5e1 (patch) | |
tree | 0edbdd9158baa535b12831a3d4860b73894df9ab /lib/banzai | |
parent | 3dadf306ddc81183e74b048bc4119796852ed7ea (diff) | |
download | gitlab-ce-b7d8df503cf35b3048b273dc0cadb5ec39aac5e1.tar.gz |
Enable Style/MutableConstant
Diffstat (limited to 'lib/banzai')
-rw-r--r-- | lib/banzai/filter/autolink_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/banzai/filter/autolink_filter.rb b/lib/banzai/filter/autolink_filter.rb index 80c844baecd..b8d2673c1a6 100644 --- a/lib/banzai/filter/autolink_filter.rb +++ b/lib/banzai/filter/autolink_filter.rb @@ -37,7 +37,7 @@ module Banzai and contains(., '://') and not(starts-with(., 'http')) and not(starts-with(., 'ftp')) - ]) + ]).freeze def call return doc if context[:autolink] == false |