Here is a list of known bugs in Instiki. Comments and fixes are welcome.
The Log Rotation does not seem to work on Windows with some versions of Ruby. When the log file grows to 1MB in size, Instiki tries to rotate the file, which results in a “Do you smell smoke” 500 Application Error.
Workaround: In config\environments\production.rb, comment out the line:
config.action_controller.logger = Logger.new(Rails.root.join('log', "#{RAILS_ENV}.log"), 25, 1024000)
(it’s the first line without a ”#” comment mark in front of it; please add one). This disables log rotation, which will keep Windows happy. The downside is that log file will now grow, indefinitely, unless you rotate it manually.
If you try to run Instiki from a directory, one of whose parent directories has a space in its name, you will likely run into trouble. So don’t do that.
This is not so much a bug in Instiki itself as in the various associated pieces of software. Which makes it not so straightforward to fix.
Equations should be protected from Wiki Syntax processing. This doesn’t seem to work for inline equations. For instance
$$[[foo]]$$
correctly produces
but
$[[foo]]$
produces
Unit test content_with_wikiword_in_equations (PageRendererTest) fails because of this bug.
The “See Changes” function uses XHTMLdiff to generate a redline document of changes from one version of a page to the next. To do this, it assumes that it is dealing with two well-formed XHTML documents. This works reliably in the Markdown-based text filters.
But, under Textile, it is rather trivial to produce ill-formed XHTML (which is why Textile is served as text/html). When you try to “See Changes”, under Textile, and one or the other of the pages is ill-formed, you will get a 500 Application Error.
There are a couple of other unit tests that fail. But these failures do not indicate a (significant) problem in Instiki.
html_diff_preserves_endlines_in_pre (DiffTest)<pre> elements is significant, but xhtmldiff fails to flag such changes.non_alpha_non_digit_III (SanitizerTest)Nestled lists doesn’t seem to work correctly. The following (taken from dingus) should format correctly as nestled list.
* Abacus
* answer
* Bubbles
1. bunk
2. bupkis
* BELITTLER
Maruku doesn’t handle 1-item (nested) lists, as expected. The above results in the following.
The answer is to include a blank line
* Abacus
* answer
* Bubbles
1. bunk
2. bupkis
* BELITTLER
Abacus
Bubbles
bunk
bupkis
– Perhaps not a bug, but selecting “Safe mode - strip HTML tags and stylesheet options from the content of all pages” appears to stop S5 slideshows from working.