The WYSIWYG editor introduces an unwanted space after
WikiWords. This can break apps. Example on
TWiki:Sandbox.WebHome
:
RandomTestTopic1002
written as:
RandomTestTopic%CALC{$SET(num,$INT($RAND(10000)))$GET(num)}%
After editing this with WYSIWYG editor you get this:
RandomTestTopic %CALC{$SET(num,$INT($RAND(10000)))$GET(num)}%
Notice the space.
Workaround for bug: Put the
WikiWord inside the CALC:
%CALC{$SET(num,$INT($RAND(10000)))RandomTestTopic$GET(num)}%
--
PTh
The Wysiwyg editor has certain caveats; one of them is that it shouldn't be used with topics containing complex TML. This is one of those topics. Your workaround is fine, please continue to use that.
Discarding.
CC