diff options
author | alexeykruglov <alexeykruglov@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:38 +0300 |
commit | f64e95a9eb9ab03240599eb9581c5a9102426a96 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /util/charset/wide.cpp | |
parent | 06361c53c4ca58f57007ea73fc399fc25664f13c (diff) | |
download | ydb-f64e95a9eb9ab03240599eb9581c5a9102426a96.tar.gz |
Restoring authorship annotation for <alexeykruglov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/charset/wide.cpp')
-rw-r--r-- | util/charset/wide.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/charset/wide.cpp b/util/charset/wide.cpp index 49f49f5110..a287438ddd 100644 --- a/util/charset/wide.cpp +++ b/util/charset/wide.cpp @@ -580,7 +580,7 @@ void EscapeHtmlChars(TUtf16String& str) { const TUtf16String& cs = str; for (size_t i = 0; i < cs.size(); ++i) - escapedLen += EscapedLen<insertBr>(cs[i]); + escapedLen += EscapedLen<insertBr>(cs[i]); if (escapedLen == cs.size()) return; @@ -606,11 +606,11 @@ void EscapeHtmlChars(TUtf16String& str) { ent = " break; default: - if (insertBr && (cs[i] == '\r' || cs[i] == '\n')) { - ent = &br; - break; - } else - continue; + if (insertBr && (cs[i] == '\r' || cs[i] == '\n')) { + ent = &br; + break; + } else + continue; } res.append(cs.begin() + start, cs.begin() + i); |