Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to problems with JS plugin

Re: problems with JS plugin

THere is a stupid split on = in the parsing

Try this
Replace in lib/tikilib.php

Image
Copy to clipboard
$parts = $this->quotesplit( '=>?', $param ); if (isset($parts[0]) && isset($parts[1])) { $name = trim($parts[0]); $argument = trim($parts[1]);

Image
Copy to clipboard
if (preg_match("/([^=]*)=>? *\"?(.*)\"?/", $param, $parts) && isset($parts[1]) && isset($parts[2])) { $name = trim($parts[1]); $argument = trim($parts[2]);


Tell me if you see some problem around the plugin interpretation. Otherwise I will commit after some more test... It is a slow process to test the parsing
sylvie