diff --git a/JString.cpp b/JString.cpp index 59267c1..0a7b450 100644 --- a/JString.cpp +++ b/JString.cpp @@ -156,6 +156,12 @@ namespace coreutils { while(!eod()) { if(*cursor == ' ') remove(1); + else if(*cursor == '\r') + remove(1); + else if(*cursor == '\t') + remove(1); + else if(*cursor == '\n') + remove(1); else if(startsWith("\"")) getContainer(); else diff --git a/testing/jstring_test b/testing/jstring_test index 78eb5f6..8f70ab9 100755 Binary files a/testing/jstring_test and b/testing/jstring_test differ