mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 08:38:27 -05: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.