1
0
Fork 0
mirror of https://github.com/marty-oehme/scripts.git synced 2024-12-22 07:58:08 +00:00

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

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