aboutsummaryrefslogtreecommitdiff
path: root/src/util/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/string.h')
-rw-r--r--src/util/string.h1
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, "$", "\\$");
}
/**