Changeset 1338

Show
Ignore:
Timestamp:
08/16/06 17:50:41
Author:
miyagawa
Message:

replace returns updated string. just use it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/Widget-Simple/hatena_bookmark_users.yaml

    r1336 r1338  
    11link: http://b.hatena.ne.jp/entry/ 
    22append: my $p = $args->{entry}->permalink; $p =~ s/#/%23/; $p 
    3 content_dynamic: | 
    4   [%- SET permalink = entry.permalink;  
    5       CALL permalink.replace('#', '%23') -%] 
    6   <img src="http://b.hatena.ne.jp/entry/image/normal/[% permalink %]" style="border:0;vertical-align:middle" /> 
     3content_dynamic: <img src="http://b.hatena.ne.jp/entry/image/normal/[% entry.permalink.replace('#', '%23') %]" style="border:0;vertical-align:middle" />