Issue was described here:
http://tikiwiki.org/tiki-view_forum_thread.php?comments_parentId=31233&topics_sort_mode=lastPost_desc&forumId=4
When you insert text like:
"You should call -+intValue()+- in ...." then that comes out as:
"You should callintValue() in ...." with "intValue()" monospaced. Note the missing space.
This is caused by the regular expression used to replace the Wiki Syntax with HTML.
The bug is in tikilib.php, line 6467.
It reads:
// Replace monospaced text
$line = preg_replace("/(^|\s)-\+(.*?)\+-/", "< code >$2< /code >", $line);
The first group captures the whitespace. But only the second capturing group is saved.
Just as a proposal:
// Replace monospaced text
$line = preg_replace("/(^|\s)-\+(.*?)\+-/", "$1< code >$2< /code >", $line);
This would preserve the whitespace if there is one.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |