[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [rkward/frameworks] rkward/plugin: Make the file extension '.html', not just 'html' for HTML preview
From: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2016-09-17 20:34:00
Message-ID: E1blMJE-00049d-3f () code ! kde ! org
[Download RAW message or body]
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"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic