mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-29 04:42:33 +00:00
Fix not correctly converting some Clash rule-providers
This commit is contained in:
@@ -115,6 +115,7 @@ std::string convertRuleset(const std::string &content, int type)
|
||||
string_size pos, lineSize;
|
||||
while(getline(ss, strLine, delimiter))
|
||||
{
|
||||
strLine = trim(strLine);
|
||||
lineSize = strLine.size();
|
||||
if(lineSize && strLine[lineSize - 1] == '\r') //remove line break
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user