Commit 80eb4a2c authored by nkoth's avatar nkoth

[MOD] Remove capability to use {} style formatting in favor of sticking to...

[MOD] Remove capability to use {} style formatting in favor of sticking to {display name=} style to avoid likely conflict
parent 4c225d0f
......@@ -93,7 +93,6 @@ function wikiplugin_list($data, $params)
} elseif (isset($arguments['wiki'])) {
$wikitpl = "tplwiki:" . $arguments['wiki'];
$wikicontent = TikiLib::lib('smarty')->fetch($wikitpl);
$wikicontent = preg_replace('/\{\$([^\}]+)\}/', '{display name=\\1}', $wikicontent);
$plugin = new Search_Formatter_Plugin_WikiTemplate($wikicontent);
} else {
$plugin = new Search_Formatter_Plugin_WikiTemplate($output->getBody());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment