fixed variables

This commit is contained in:
Patrizio Bekerle 2017-05-19 17:09:49 +02:00
parent b5c7017458
commit 95f3c3f512
No known key found for this signature in database
GPG Key ID: 2E9FFD770DABE838
1 changed files with 2 additions and 2 deletions

View File

@ -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]");