mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
Update StringParser.cpp
revert function
This commit is contained in:
@@ -38,8 +38,8 @@ void stripEscapeCharacters(String& str)
|
||||
constexpr uint8_t nrbraces = NR_ELEMENTS(braces);
|
||||
|
||||
for (uint8_t i = 0; i < nrbraces; ++i) {
|
||||
const char s[] = { '\\', braces[i], '\0'};
|
||||
str.replace(s, s + 1);
|
||||
const String s(concat(F("\\"), braces[i]));
|
||||
str.replace(s, s.substring(1));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user