Skip to content
Snippets Groups Projects
Commit 6f6a4ff2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't strip $.

I think I was intending to strip & and prevent those variables,
but it looks like the original doesn't.

However, it also looks like the original doesn't *always* replace
string variables... will need to look into that harder in the future.
parent fe7c54ca
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -571,10 +571,7 @@ function clean_str(str)
var i;
for (i = 0; i < str.length; i += 1) {
if (str[i] === '$') {
// Just skip it.
}
else if (str[i] !== '`') {
if (str[i] !== '`') {
ret += str[i];
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment