Confirmation
Type
New API feature, Minor Code improvement (Won't affect Servers)
Description
I propose allowing placeholders to be escaped, ie "\%my_placeholder%" would parse as "%my_placeholder%". An accompanying API method to escape all placeholders in a given string should also be added (such that parse(escape(string)).equals(string)) This feature would be useful for input sanitization, which is especially important if placeholders that take take a long time to parse exist, such as arbitrarily large exponent calculations in the math extension.
Code Example
Jar file
No response
Additional Information
No response
Confirmation
Type
New API feature, Minor Code improvement (Won't affect Servers)
Description
I propose allowing placeholders to be escaped, ie "\%my_placeholder%" would parse as "%my_placeholder%". An accompanying API method to escape all placeholders in a given string should also be added (such that
parse(escape(string)).equals(string)) This feature would be useful for input sanitization, which is especially important if placeholders that take take a long time to parse exist, such as arbitrarily large exponent calculations in the math extension.Code Example
Jar file
No response
Additional Information
No response