Commit b8938404 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fix folding line size limit

parent 13dc02f9
......@@ -89,7 +89,7 @@ string BelCardParser::fold(string input) {
while (next_crlf != string::npos) {
next_crlf = input.find("\r\n", crlf);
if (next_crlf != string::npos) {
if (next_crlf - crlf > 77) {
if (next_crlf - crlf > 75) {
input.insert(crlf + 74, "\r\n ");
crlf += 76;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment