multiline fix

This commit is contained in:
2020-05-23 21:55:31 +03:00
parent 0418638fc9
commit da32c7c723
2 changed files with 6 additions and 5 deletions

2
pip

Submodule pip updated: 21f8a035d8...6413e7747e

View File

@@ -798,9 +798,9 @@ void QPIConfig::parse(QString content) {
comm = "";
}
if (str.endsWith("\\")) {
if (str.endsWith(" \\")) {
isMultiline = true;
str.chop(1);
str.chop(2);
str = str.trimmed();
} else
isMultiline = false;
@@ -809,10 +809,11 @@ void QPIConfig::parse(QString content) {
wasMultiline = false;
if (ce) {
ce->_value += str;
ce->_all += "\\\n" + all;
ce->_all += " \\\n" + all;
}
str.clear();
}
} else
ce = 0;
wasMultiline = isMultiline;
ind = str.indexOf('=');