tsawada/iwiwiki — pull request #3 by zvass (2011-12-21 15:38:15+00:00)
Title: Syntax highlighting implementation fixed

Short description:
-----------------------

- fenced code block syntax fixed
- CodeHilite enabled
- feature page updated accordingly (see: Top / Highlighting)
- Pygments added to dependencies (see: Top)

Details:
----------

Re-implemented the "fenced code block" syntax highlighting and found the bug. The problem with the previous implementation was that I didn't store the highlighted string in the htmlStash, just wrote it back to the list. With the new implementation the "fenced code block" syntax works as expected:

- nesting works (outer fence has to be longer than the nested ones)
- fences of separate code blocks can have the same length (no need to have unique length for each)