Issues, Bugs and Fixes in Modified Version of Textile 2.0 beta
Colin Brown, June 2004 (Last Updated: 17th June 2004)
Known Issues
- only the first para in an extended blockquote gets indented with a tab in the generated source code. We could add extra code to the line in block() that adds paragraph tags to check whether we are in a blockquote section and add a tab if we are, but this seems like an unecessary overhead. Ref: I1
- If an extended block of code is followed immediately by a list, the end of the extended block is not detected (we only check for lists when not in extended blocks of code, because when we are in bc.. code block and we find a list, we don’t know if this is a real list, or a list that is part of the block of code) Ref: I2
Fixed Issues
- Extended blocks followed by a list result in the list being nested within the block.
- Fixed 17/6/04. Added a check to block() – when we are in an extended block, check that the line doesn’t contain
<ol> or <ul> and is not preceded by a blank line – if it does, end the extended block. Not implemented for extended blocks of code – see known issue I1 above. Fix also ported to textile2cb.php wordpress plugin. Source for the fixed version is classTextile.cbv6.php.