[rkward/frameworks] rkward/plugin: Make the file extension '.html', not just 'html' for HTML previews. Parsing fails, otherwise.
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Sat Sep 17 20:34:00 UTC 2016
Git commit fc3d874787fc97fd792b2900922af8b8f99cfc98 by Thomas Friedrichsmeier.
Committed on 17/09/2016 at 20:33.
Pushed by tfry into branch 'frameworks'.
Make the file extension '.html', not just 'html' for HTML previews. Parsing fails, otherwise.
M +1 -1 rkward/plugin/rkpreviewbox.cpp
http://commits.kde.org/rkward/fc3d874787fc97fd792b2900922af8b8f99cfc98
diff --git a/rkward/plugin/rkpreviewbox.cpp b/rkward/plugin/rkpreviewbox.cpp
index 17fce39..ce3db6b 100644
--- a/rkward/plugin/rkpreviewbox.cpp
+++ b/rkward/plugin/rkpreviewbox.cpp
@@ -82,7 +82,7 @@ RKPreviewBox::RKPreviewBox (const QDomElement &element, RKComponent *parent_comp
if (preview_mode == OutputPreview) {
RKGlobals::rInterface ()->issueCommand ("local ({\n"
- "outfile <- tempfile (fileext='html')\n"
+ "outfile <- tempfile (fileext='.html')\n"
"rk.assign.preview.data(" + idprop + ", list (filename=outfile, on.delete=function (id) {\n"
" rk.flush.output (outfile, ask=FALSE)\n"
" unlink (outfile)\n"
More information about the rkward-tracker
mailing list