Simplify EMOJI_PATTERN
This commit is contained in:
parent
8808c5fa8d
commit
3a63f6f316
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue