Project

General

Profile

Patch #894 » wiki_links_in_tables-1.diff

Jean-Philippe Lang, 2008-03-19 21:58

View differences:

H:/trunk/lib/redcloth.rb (working copy)
510 510
                ratts, row = pba( $1, 'tr' ), $2 if row =~ /^(#{A}#{C}\. )(.*)/m
511 511
                
512 512
                cells = []
513
                row.split( '|' ).each do |cell|
513
                row.split( /\|(?![^\[\|]*\]\])/ ).each do |cell|
514 514
                    ctyp = 'd'
515 515
                    ctyp = 'h' if cell =~ /^_/
516 516

  
(2-2/2)