From 95f3c3f51223c791184d1a347d895cde8b8758a0 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 19 May 2017 17:09:49 +0200 Subject: [PATCH] fixed variables --- selected-markdown-to-bbcode/selected-markdown-to-bbcode.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selected-markdown-to-bbcode/selected-markdown-to-bbcode.qml b/selected-markdown-to-bbcode/selected-markdown-to-bbcode.qml index 50c5a14..dae3aef 100644 --- a/selected-markdown-to-bbcode/selected-markdown-to-bbcode.qml +++ b/selected-markdown-to-bbcode/selected-markdown-to-bbcode.qml @@ -53,8 +53,8 @@ QtObject { // you need pandoc and the BBCode writer from https://github.com/2ion/pandoc-bbcode // to convert Markdown to BBCode - var params = ["-t", "/opt/scripts/panbbcode.lua", "-f", "markdown"]; - var result = script.startSynchronousProcess("pandoc", params, text); + var params = ["-t", panbbcodePath, "-f", "markdown"]; + var result = script.startSynchronousProcess(pandocPath, params, text); // do some code list cleanup result = replaceAll(result, "[list=*]", "[list]");