Skip to content
Snippets Groups Projects
Commit 3a63f6f3 authored by Robert Speicher's avatar Robert Speicher
Browse files

Simplify EMOJI_PATTERN

parent 8808c5fa
No related branches found
No related tags found
1 merge request!1384Emoji!
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment