2006-03-10 – Update
Ok, thanks.
2006-03-09 – Update
It looks like this bug is fixed in the development version of redcloth: http://code.whytheluckystiff.net/svn/redcloth/trunk/lib/redcloth/textile.rb but I don’t yet know when it will be released or whether it is fully compatible with soks. —tamc
This problem persisted. On top of it, when I re-started the wiki, there were errors on restart. The resources that had the problem would simply dissapear from the system. So I decided to go into the code and see what I could find (see below).
- Soks Version: 1.0.3
- The file: ..\Soks-1.0.3\contrib\redcloth-3.0.3.rb, line 533
- The method: block_textile_lists
- The problem: depth.last is nil
- The theory: It seems to be related to bullets. I wonder if it isn’t related to the fact that I tried putting in three stars (*) to nest an extra level of bullets. Can I nest bullets like this?
if depth.last.length == tl.length
lines[line_id - 1] << '</li>'
end
I put in
if depth != nil && depth.last != nil then
if depth.last.length == tl.length
lines[line_id - 1] << '</li>'
end
end
NOTE: I can’t imagine this is a good fix. It’s only a quick hack.
Old stuff
To answer the question (include below). It isn’t in the ‘view html’. But it does pop up in the text area when I edit the page.
Not seen it before. If you ‘view html’ on the view page, is what you wrote their (and is it therefore a stylesheet/layout bug?) or is it not there (and therefore probably a bug in the updating or caching of the page?—tamc