mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
export: bug fix
This commit is contained in:
parent
8e06c24fc1
commit
fb73fdad77
@ -738,9 +738,11 @@ QString VUtils::generateExportHtmlTemplate(const QString &p_renderBg, bool p_inc
|
||||
"SVG: {\n"
|
||||
"minScaleAdjust: 100,\n"
|
||||
"styles: {\n"
|
||||
#if defined(Q_OS_WIN)
|
||||
"\".MathJax_SVG\": {\n"
|
||||
"\"font-size\": \"2em !important\"\n"
|
||||
"}\n"
|
||||
#endif
|
||||
"}\n"
|
||||
"}\n"
|
||||
"});\n"
|
||||
|
@ -378,6 +378,11 @@ bool VExporter::exportViaWebView(VFile *p_file,
|
||||
m_state = ExportState::Failed;
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if (m_askedToStop) {
|
||||
m_state = ExportState::Cancelled;
|
||||
goto exit;
|
||||
}
|
||||
}
|
||||
|
||||
// Wait to ensure Web side is really ready.
|
||||
|
Loading…
x
Reference in New Issue
Block a user