mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-05 12:57:52 +00:00
Remove workaround for slashes in page title
This was reported in #22 and has been fixed upstream in electron-userland/electron-packager#308
This commit is contained in:
parent
49272d1a89
commit
bd89f90a3d
@ -18,8 +18,7 @@ function inferTitle(url) {
|
||||
const $ = cheerio.load(data);
|
||||
return $('title')
|
||||
.first()
|
||||
.text()
|
||||
.replace(/\//g, '');
|
||||
.text();
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user