mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 23:23:49 +08:00
ec537e5ea2
This changes from providing a string literal for the #sub replacement, to providing a block. Because the block is provided the match object, it is presumed to have already performed all necessary backreferences. This avoids any replacement of backreferences in the message body. |
||
---|---|---|
.. | ||
application_helper.rb | ||
common_helper.rb | ||
email_helper.rb | ||
embed_helper.rb | ||
emoji_helper.rb | ||
list_helper.rb | ||
qunit_helper.rb | ||
topics_helper.rb | ||
user_notifications_helper.rb |