Wiki links:
* fixes wiki links with pipe in table (closes #893, #870, #894) * prevent wiki link matching on multiple lines git-svn-id: http://redmine.rubyforge.org/svn/trunk@1280 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
+2
-1
@@ -510,7 +510,8 @@ class RedCloth < String
|
||||
ratts, row = pba( $1, 'tr' ), $2 if row =~ /^(#{A}#{C}\. )(.*)/m
|
||||
|
||||
cells = []
|
||||
row.split( '|' ).each do |cell|
|
||||
#row.split( /\(?!\[\[[^\]])|(?![^\[]\]\])/ ).each do |cell|
|
||||
row.split( /\|(?![^\[\|]*\]\])/ ).each do |cell|
|
||||
ctyp = 'd'
|
||||
ctyp = 'h' if cell =~ /^_/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user