More explicit and simpler code
This commit is contained in:
parent
105b35192f
commit
242f951c84
|
@ -492,7 +492,7 @@ public:
|
|||
if (c == '\n' or c == '\r')
|
||||
{
|
||||
res += StringView{pos, it};
|
||||
utf8::dump(std::back_inserter(res), c == '\n' ? 0x2424 : 0x240D);
|
||||
res += c == '\n' ? "" : "␍";
|
||||
pos = it+1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user