mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-11 15:51:06 +00:00
Merge pull request #24 from himynameisdave/master
Fixes the issue with "/"'s in the page title
This commit is contained in:
commit
673851202f
@ -103,7 +103,7 @@ function getTitle(url, callback) {
|
||||
}
|
||||
|
||||
const $ = cheerio.load(body);
|
||||
const pageTitle = $("title").text();
|
||||
const pageTitle = $("title").text().replace(/\//g, "");
|
||||
callback(null, pageTitle);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user