aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/highlight_helper.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-05-26 13:49:32 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-04 15:39:12 +0100
commitb772e92f89e96b831ed5c69dc35b339a6b52f2cb (patch)
tree08f03eabffd2ea557ebf2e146dad494351ffb892 /app/helpers/highlight_helper.rb
parent7165154293739eb77d0d2a7bcd052ac9fdd3cf69 (diff)
Make sure regexes used in highlight helper are UTF-8 encoded
Diffstat (limited to 'app/helpers/highlight_helper.rb')
-rw-r--r--app/helpers/highlight_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/highlight_helper.rb b/app/helpers/highlight_helper.rb
index a98f6f320..c72d5a64b 100644
--- a/app/helpers/highlight_helper.rb
+++ b/app/helpers/highlight_helper.rb
@@ -1,3 +1,4 @@
+# -*- encoding : utf-8 -*-
module HighlightHelper
include ERB::Util