|
|
@@ -224,7 +224,7 @@ std::string getRuleset(RESPONSE_CALLBACK_ARGS)
|
|
|
output_content += " - '";
|
|
|
if(strLine[posb - 2] == 'X')
|
|
|
output_content += "+.";
|
|
|
- output_content += strLine.substr(posb, pose);
|
|
|
+ output_content += trim(strLine.substr(posb, pose));
|
|
|
output_content += "'\n";
|
|
|
continue;
|
|
|
case 4:
|
|
|
@@ -233,7 +233,7 @@ std::string getRuleset(RESPONSE_CALLBACK_ARGS)
|
|
|
if(filterLine())
|
|
|
continue;
|
|
|
output_content += " - '";
|
|
|
- output_content += strLine.substr(posb, pose);
|
|
|
+ output_content += trim(strLine.substr(posb, pose));
|
|
|
output_content += "'\n";
|
|
|
continue;
|
|
|
case 5:
|
|
|
@@ -243,7 +243,7 @@ std::string getRuleset(RESPONSE_CALLBACK_ARGS)
|
|
|
continue;
|
|
|
if(strLine[posb - 2] == 'X')
|
|
|
output_content += '.';
|
|
|
- output_content += strLine.substr(posb, pose);
|
|
|
+ output_content += trim(strLine.substr(posb, pose));
|
|
|
output_content += '\n';
|
|
|
continue;
|
|
|
case 6:
|