Project

General

Profile

Patch #894 » wiki_links_in_tables.diff

Rocco Stanzione, 2008-03-19 18:56

View differences:

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

  
(1-1/2)