mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-15 17:31:56 +00:00
fix missed unescaped for ', thanks to Svyatoslav Mishyn
This commit is contained in:
@@ -63,6 +63,9 @@ static std::string xdxf2text(const char *p, bool colorize_output)
|
|||||||
} else if (g_str_has_prefix(p, """)) {
|
} else if (g_str_has_prefix(p, """)) {
|
||||||
res += "\"";
|
res += "\"";
|
||||||
p += 5;
|
p += 5;
|
||||||
|
} else if (g_str_has_prefix(p, "'")) {
|
||||||
|
res += "\'";
|
||||||
|
p += 5;
|
||||||
} else
|
} else
|
||||||
res += *p;
|
res += *p;
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user