mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09: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"
|
"SVG: {\n"
|
||||||
"minScaleAdjust: 100,\n"
|
"minScaleAdjust: 100,\n"
|
||||||
"styles: {\n"
|
"styles: {\n"
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
"\".MathJax_SVG\": {\n"
|
"\".MathJax_SVG\": {\n"
|
||||||
"\"font-size\": \"2em !important\"\n"
|
"\"font-size\": \"2em !important\"\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
|
#endif
|
||||||
"}\n"
|
"}\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"});\n"
|
"});\n"
|
||||||
|
@ -378,6 +378,11 @@ bool VExporter::exportViaWebView(VFile *p_file,
|
|||||||
m_state = ExportState::Failed;
|
m_state = ExportState::Failed;
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_askedToStop) {
|
||||||
|
m_state = ExportState::Cancelled;
|
||||||
|
goto exit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Wait to ensure Web side is really ready.
|
// Wait to ensure Web side is really ready.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user