diff --git a/selected-markdown-to-jira/info.json b/selected-markdown-to-jira/info.json index 9e7c430..c40b66f 100644 --- a/selected-markdown-to-jira/info.json +++ b/selected-markdown-to-jira/info.json @@ -3,7 +3,7 @@ "identifier": "selected-markdown-to-jira", "script": "selected-markdown-to-jira.qml", "authors": ["@pbek"], - "version": "0.0.2", + "version": "0.0.3", "minAppVersion": "17.05.7", "description" : "With this script you can right click the selected text and convert it to Jira Code.\n\nDependencies\nNode.js\njira2md (installed via npm)\n\nInstallation\nAfter you have installed Node.js you can install jira2md by typing:\nsudo npm install -g jira2md\n\nYou might also need to set your NODE_PATH to the path where the module did get installed with for example:\nexport NODE_PATH=/usr/local/lib/node_modules" } diff --git a/selected-markdown-to-jira/selected-markdown-to-jira.qml b/selected-markdown-to-jira/selected-markdown-to-jira.qml index 35b5c0f..f2faff7 100644 --- a/selected-markdown-to-jira/selected-markdown-to-jira.qml +++ b/selected-markdown-to-jira/selected-markdown-to-jira.qml @@ -55,7 +55,7 @@ QtObject { var result = script.startSynchronousProcess(nodejsExecutablePath, params, text); // replace some names - result = String(result).replace(/\@Georg/ig, "[~g.franz]").replace(/\@Jacob/ig, "[~j.ester]").replace(/\@Gandalf/ig, "[~g.sievers]"); + result = String(result).replace(/\@Georg/ig, "[~g.franz]").replace(/\@Jacob/ig, "[~j.ester]").replace(/\@Gandalf/ig, "[~g.sievers]").replace(/\@Dominik/ig, "[~d.jansen]"); // put the result into the clipboard script.setClipboardText(result);