Actions
Patch #894
closedPatch for #893
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-03-19
Due date:
% Done:
100%
Estimated time:
Description
This fixes #893, wiki links not working in tables. I considered monkey-patching redcloth, and I considered sending the patch to _why for redcloth, but apparently that project is unmaintained, so maybe it's ok to touch redcloth.rb. This patch uses a negative lookahead to not split on a pipe that's followed by two consecutive close-brackets, the closing markup for a wiki link. I tried matching both sides (open and close brackets) but MRI's regexp engine doesn't support negative lookbehinds, and I think it's safe to assume there's no other reason you'd have ]] in a table cell.
Files
Actions