mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 10:12:50 +00:00
Enhancements
Fix trying to fetch a ruleset when adding it as a RULE-SET rule to configuration files. Add URL Decode to username and password field in Telegram-link-style HTTP/Socks 5 links. Add more function callbacks to template renderer. Add basic Jinja2Cpp template library support. INIReader: Add keeping comments and blank lines in direct-save sections.
This commit is contained in:
7 files changed
+135
-17
No files matched your search
+1
-1
@@ -240,7 +240,7 @@ public:
|
||||
strLine.erase(lineSize - 1);
|
||||
lineSize--;
|
||||
}
|
||||
if(!lineSize || strLine[0] == ';' || strLine[0] == '#' || (lineSize >= 2 && strLine[0] == '/' && strLine[1] == '/')) //empty lines and comments are ignored
|
||||
if((!lineSize || strLine[0] == ';' || strLine[0] == '#' || (lineSize >= 2 && strLine[0] == '/' && strLine[1] == '/')) && !inDirectSaveSection) //empty lines and comments are ignored
|
||||
continue;
|
||||
if(strLine[0] == '[' && strLine[lineSize - 1] == ']') //is a section title
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user