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:
parent
a57cae032b
commit
e4185d5aca
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue