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:
parent
b5c7017458
commit
95f3c3f512
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ QtObject {
|
||||||
|
|
||||||
// you need pandoc and the BBCode writer from https://github.com/2ion/pandoc-bbcode
|
// you need pandoc and the BBCode writer from https://github.com/2ion/pandoc-bbcode
|
||||||
// to convert Markdown to BBCode
|
// to convert Markdown to BBCode
|
||||||
var params = ["-t", "/opt/scripts/panbbcode.lua", "-f", "markdown"];
|
var params = ["-t", panbbcodePath, "-f", "markdown"];
|
||||||
var result = script.startSynchronousProcess("pandoc", params, text);
|
var result = script.startSynchronousProcess(pandocPath, params, text);
|
||||||
|
|
||||||
// do some code list cleanup
|
// do some code list cleanup
|
||||||
result = replaceAll(result, "[list=*]", "[list]");
|
result = replaceAll(result, "[list=*]", "[list]");
|
||||||
|
|
Loading…
Reference in a new issue