Patch #894 » wiki_links_in_tables-1.diff
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 |
- « Previous
- 1
- 2
- Next »