DEV: Bump rubocop_discourse (#29608)

This commit is contained in:
Alan Guo Xiang Tan
2024-11-06 06:27:49 +08:00
committed by GitHub
parent ff494f2f94
commit 57f4176b57
64 changed files with 192 additions and 192 deletions

View File

@ -689,9 +689,9 @@ module PrettyText
private
USER_TYPE ||= "user"
GROUP_TYPE ||= "group"
GROUP_MENTIONABLE_TYPE ||= "group-mentionable"
USER_TYPE = "user"
GROUP_TYPE = "group"
GROUP_MENTIONABLE_TYPE = "group-mentionable"
def self.add_mentions(doc, user_id: nil)
elements = doc.css("span.mention")