From 17e5a67035139239a0b67f56a2d37726eec854b9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 26 Nov 2018 00:10:30 +0100 Subject: [PATCH] Update PluginRepo.plugin.js --- Plugins/PluginRepo/PluginRepo.plugin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/PluginRepo/PluginRepo.plugin.js b/Plugins/PluginRepo/PluginRepo.plugin.js index 4a4d828482..5e807f56d1 100644 --- a/Plugins/PluginRepo/PluginRepo.plugin.js +++ b/Plugins/PluginRepo/PluginRepo.plugin.js @@ -775,8 +775,7 @@ class PluginRepo { var separator = result[1]; result = result[0].replace(new RegExp("\\\\" + separator, "g"), separator).split(separator); if (result.length > 2) { - result = tag != "getDescription" ? result[1] : result.slice(1, -1).join(separator).replace(new RegExp("\\\\n", "g"), "
").replace(new RegExp("\\\\", "g"), ""); - plugin[tag] = tag != "getVersion" ? result.charAt(0).toUpperCase() + result.slice(1) : result; + plugin[tag] = tag != "getVersion" ? result[1].charAt(0).toUpperCase() + result[1].slice(1) : result[1]; } } }