Changeset 254

Show
Ignore:
Timestamp:
03/07/2008 15:38:12 (9 months ago)
Author:
jgarber
Message:

Move the STORE_URL on link aliases to match the cleanup in [253].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/superredcloth/ext/superredcloth_scan/superredcloth_scan.rl

    r252 r254  
    4545  dd_start = ":=" ; 
    4646  blank_line = CRLF; 
    47   link_alias = ( "[" >{ ASET(type, ignore) } %A phrase %T "]" %A uri ) ; 
     47  link_alias = ( "[" >{ ASET(type, ignore) } %A phrase %T "]" %A uri %{ STORE_URL(href); } ) ; 
    4848   
    4949  # html blocks 
     
    150150    dl_start        { INLINE(html, dl_open); ASET(type, dt); fgoto dl; }; 
    151151    table           { INLINE(table, table_close); DONE(table); fgoto block; }; 
    152     link_alias      { STORE_URL(href); rb_hash_aset(refs_found, rb_hash_aref(regs, ID2SYM(rb_intern("text"))), rb_hash_aref(regs, ID2SYM(rb_intern("href")))); DONE(block); }; 
     152    link_alias      { rb_hash_aset(refs_found, rb_hash_aref(regs, ID2SYM(rb_intern("text"))), rb_hash_aref(regs, ID2SYM(rb_intern("href")))); DONE(block); }; 
    153153    blank_line => cat; 
    154154    default