forked from markus/S_New4
v3.4.6: fix error: sonderzeicehn in der serienliste
This commit is contained in:
parent
a450f87e0d
commit
6a526269db
@ -63,7 +63,7 @@ struct Settings {
|
|||||||
proxy_ip = "127.0.0.1",
|
proxy_ip = "127.0.0.1",
|
||||||
languages = "GerDub,GerSub,Eng,",
|
languages = "GerDub,GerSub,Eng,",
|
||||||
genaueHoster = "",
|
genaueHoster = "",
|
||||||
version = "3.4.5",
|
version = "3.4.6",
|
||||||
defaultFileVersion="1.6",
|
defaultFileVersion="1.6",
|
||||||
outputFilePath = "",
|
outputFilePath = "",
|
||||||
default_checkPath = "",
|
default_checkPath = "",
|
||||||
|
@ -1215,6 +1215,19 @@ int ProgramManager::searchModus_update(Settings *settings)
|
|||||||
if(serienListe.length() > 0)
|
if(serienListe.length() > 0)
|
||||||
serienListe.pop_back();
|
serienListe.pop_back();
|
||||||
|
|
||||||
|
//Entferne Html Sonderzeichen
|
||||||
|
serienListe = pageManager.replace(serienListe, """, "\""); //
|
||||||
|
|
||||||
|
serienListe = pageManager.replace(serienListe, "&", "&"); //
|
||||||
|
serienListe = pageManager.replace(serienListe, "<", "<"); //
|
||||||
|
serienListe = pageManager.replace(serienListe, ">", ">"); //
|
||||||
|
|
||||||
|
serienListe = pageManager.replace(serienListe, "<br />", " "); //
|
||||||
|
serienListe = pageManager.replace(serienListe, """, "\""); //
|
||||||
|
serienListe = pageManager.replace(serienListe, "'", "'"); //
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Anzahl der Serien/Zeilen vorher:
|
//Anzahl der Serien/Zeilen vorher:
|
||||||
ssize_t countBef = 0;
|
ssize_t countBef = 0;
|
||||||
std::ifstream myFileBef(settings->serienListPath);
|
std::ifstream myFileBef(settings->serienListPath);
|
||||||
|
Loading…
Reference in New Issue
Block a user