discourse/app/assets/javascripts/pretty-text
Andrei Prigorshnev 73781c8a96
FIX: Do not consider code-blocks when parsing mentions (#23280)
We have the max_mentions_per_chat_message site settings; when a user tries 
to mention more users than allowed, no one gets mentioned.

Chat messages may contain code-blocks with strings that look like mentions:

  def foo
    @bar + @baz
  end

The problem is that the parsing code considers these as real mentions and counts 
them when checking the limit. This commit fixes the problem.
2023-09-07 16:13:13 +04:00
..
addon FIX: Do not consider code-blocks when parsing mentions (#23280) 2023-09-07 16:13:13 +04:00
app DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
config DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
engines/discourse-markdown FIX: Add hashtag placeholder when chat message sent (#23287) 2023-08-30 11:31:34 +10:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
index.js DEV: invert pretty-text build logic (#22524) 2023-07-10 23:11:49 +01:00
jsconfig.json DEV: Add discourse/tests to jsconfig (#19031) 2022-11-15 11:33:56 +00:00
package.json Build(deps-dev): Bump the babel group (#23396) 2023-09-05 00:27:27 +02:00