Ignore:
Timestamp:
06/24/09 19:53:49 (3 years ago)
Author:
MichaelTempest
Message:

Item1770: perltidy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm

    r4292 r4294  
    601601 
    602602    my $xmltags = $this->{opts}->{xmltag}; 
     603 
    603604    # Take out custom XML tags 
    604605    sub _takeOutCustomXmlProcess { 
    605606        my ( $this, $state, $scoop ) = @_; 
    606607        my $params = $state->{tagParams}; 
    607         my $tag = $state->{tag}; 
     608        my $tag    = $state->{tag}; 
    608609        my $markup = "<$tag$params>$scoop</$tag>"; 
    609         if ($this->{opts}->{xmltag}->{$tag}->($markup)) { 
     610        if ( $this->{opts}->{xmltag}->{$tag}->($markup) ) { 
    610611            return $this->_liftOut( $markup, 'PROTECTED' ); 
    611612        } 
    612613        else { 
    613             return $this->_liftOut( "<$tag$params>", 'PROTECTED' ) . $scoop . $this->_liftOut( "</$tag>", 'PROTECTED' ); 
     614            return $this->_liftOut( "<$tag$params>", 'PROTECTED' ) . $scoop 
     615              . $this->_liftOut( "</$tag>", 'PROTECTED' ); 
    614616        } 
    615617    } 
     
    624626 
    625627sub _takeOutBlocks { 
     628 
    626629    # my ( $this, $intext, $tag ) = @_; 
    627630 
     
    653656    my $scoop; 
    654657 
    655     # &$fn may rely on the existence of these fields,  
     658    # &$fn may rely on the existence of these fields, 
    656659    # and may add more fields, if needed 
    657660    my %state = ( tag => $tag, n => 0, tagParams => undef ); 
Note: See TracChangeset for help on using the changeset viewer.