Simplify EMOJI_PATTERN
This commit is contained in:
parent
8808c5fa8d
commit
3a63f6f316
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ module Gitlab
|
||||||
([^\w&;])? # Suffix (6)
|
([^\w&;])? # Suffix (6)
|
||||||
}x.freeze
|
}x.freeze
|
||||||
|
|
||||||
EMOJI_PATTERN = %r{(:([\w\-\+]+):)}.freeze
|
EMOJI_PATTERN = %r{(:(\S+):)}.freeze
|
||||||
|
|
||||||
attr_reader :html_options
|
attr_reader :html_options
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue