Browse Source

Merge 5a586ec0c4 into 25756d0280

pull/1347/merge
Jaidyn Ann 1 year ago committed by GitHub
parent
commit
22fd2dbabc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/models/custom_emoji.rb

2
app/models/custom_emoji.rb

@ -25,7 +25,7 @@ class CustomEmoji < ApplicationRecord
LIMIT = 256.kilobytes
SHORTCODE_RE_FRAGMENT = '[a-zA-Z0-9_]{2,}'
SHORTCODE_RE_FRAGMENT = '(([[:alnum:]])|_){2,}'
SCAN_RE = /(?<=[^[:alnum:]:]|\n|^)
:(#{SHORTCODE_RE_FRAGMENT}):

Loading…
Cancel
Save