1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix print styles

This commit is contained in:
Andrew Simachev 2022-01-20 20:44:18 +03:00
parent a57cae032b
commit e4185d5aca
2 changed files with 5 additions and 2 deletions

View file

@ -867,7 +867,7 @@ function exit (relaunch) {
};
function savePage (name) {
name = String(name || 'untitled').replace(/[^a-z0-9]/gi, '_').toLowerCase();
name = String(name || 'untitled').replace(/[^a-z0-9]/gi, '-').toLowerCase();
win.webContents.savePage(path.join(exportPath, name + '.mhtml'), 'MHTML').then(() => {
shell.openPath(exportPath);