Episode: Fixed Support for HTML Character Codes in Title

This commit is contained in:
Moss 2022-12-23 02:17:50 -05:00
parent 229327bf37
commit 00ab93dfbb
No known key found for this signature in database
GPG Key ID: F539D4A506C954F9
1 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ namespace dropout_dl {
int k; int k;
for (k = 0; j + k < series_data.size() && series_data[j + k] != '"'; k++); for (k = 0; j + k < series_data.size() && series_data[j + k] != '"'; k++);
return series_data.substr(j, k); return format_name_string(series_data.substr(j, k));
} }
} }
} }
@ -239,7 +239,7 @@ namespace dropout_dl {
int j; int j;
for (j = 0; meta_data[i + j] != '"' && i + j < meta_data.size(); j++); for (j = 0; meta_data[i + j] != '"' && i + j < meta_data.size(); j++);
return meta_data.substr(i, j); return format_name_string(meta_data.substr(i, j));
} }
} }
return "ERROR"; return "ERROR";
@ -261,7 +261,7 @@ namespace dropout_dl {
} }
} }
return meta_data.substr(i, j); return format_name_string(meta_data.substr(i, j));
} }
} }
return "ERROR"; return "ERROR";