mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 04:44:59 +00:00
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.