mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 11:25:41 +08:00

Mutating the `raw` variable like this would cause issues upstream, meaning that the modification is not persisted. Instead, we should allocate a new string like the other replacement methods.