Merge pull request #1275 from ailin-nemui/tags-heap

stop parsing on lone tag escape
This commit is contained in:
ailin-nemui 2021-02-27 18:43:48 +01:00 committed by GitHub
commit b2c9365623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,6 +395,8 @@ static void unescape_tag(char *tag)
for (; *tmp != '\0'; tmp++, tag++) {
if (*tmp == '\\') {
tmp++;
if (*tmp == '\0')
break;
switch (*tmp) {
case ':':
*tag = ';';