/[socialtext-import]/tamtam/tamtam2socialtext.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /tamtam/tamtam2socialtext.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Wed Dec 12 12:48:42 2007 UTC revision 7 by dpavlin, Wed Dec 12 13:09:29 2007 UTC
# Line 83  foreach my $name ( keys %$page ) { Line 83  foreach my $name ( keys %$page ) {
83          $body =~ s/'''(.+?)'''/surround('*',$1)/gse;          $body =~ s/'''(.+?)'''/surround('*',$1)/gse;
84          $body =~ s/''(.+?)''/surround('_',$1)/gse;          $body =~ s/''(.+?)''/surround('_',$1)/gse;
85    
86            $body =~ s/^\s+([\*])/$1/gm;
87    
88          Encode::_utf8_off( $body );          Encode::_utf8_off( $body );
89    
90          my @tags = ( 'TamTam' );          my @tags = ( 'TamTam' );

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26