diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-11-24 17:56:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 17:56:43 -0500 |
commit | 8817af07fb72fd78fb753fe5d069d0a65a79742f (patch) | |
tree | 57b4fc5c96aa4065479a79bcb6001075f9091b72 /src/util/string.h | |
parent | 3c7f26d93721d8d86ca5d9e894e8652b1e2a8672 (diff) | |
download | minetest-8817af07fb72fd78fb753fe5d069d0a65a79742f.tar.xz |
Deprecate special handling of `${key}` syntax in metadata values (#12970)
Diffstat (limited to 'src/util/string.h')
-rw-r--r-- | src/util/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/string.h b/src/util/string.h index 80eea754c..4c7a4068d 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -459,6 +459,7 @@ inline void str_formspec_escape(std::string &str) str_replace(str, "[", "\\["); str_replace(str, ";", "\\;"); str_replace(str, ",", "\\,"); + str_replace(str, "$", "\\$"); } /** |