We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6c5230 commit 877eec6Copy full SHA for 877eec6
src/SplashRead.cpp
@@ -53,8 +53,11 @@ bool SplashRead::loadFile()
53
if (line[i] == '\0') continue;
54
if (line[i] < ' ' || line[i] > '~')
55
{
56
- log::error("Non-alphanumeric character detected at col {} of line {}", i + 1, lineNum);
57
- return false;
+ if (line[i] != '\n' && line[i] != '\r')
+ {
58
+ log::error("Non-alphanumeric character detected at col {} of line {}", i + 1, lineNum);
59
+ return false;
60
+ }
61
}
62
63
0 commit comments