Simplify EMOJI_PATTERN

This commit is contained in:
Robert Speicher 2012-09-06 15:26:55 -04:00
parent 8808c5fa8d
commit 3a63f6f316

View file

@ -35,7 +35,7 @@ module Gitlab
([^\w&;])? # Suffix (6)
}x.freeze
EMOJI_PATTERN = %r{(:([\w\-\+]+):)}.freeze
EMOJI_PATTERN = %r{(:(\S+):)}.freeze
attr_reader :html_options