Show
Ignore:
Timestamp:
11/11/06 17:06:50 (5 years ago)
Author:
nick
Message:

Escape the node name with the formatter, if it supports that

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • wiki-toolkit-plugin-ping/lib/Wiki/Toolkit/Plugin/Ping.pm

    r359 r360  
    8484        # We're the child, do the work 
    8585 
     86        # Apply the formatter escaping on the node name, if there's one 
     87        if($self->formatter) { 
     88            # Eval, in case the formatter doesn't support node name escaping 
     89            eval { 
     90                $node = $self->formatter->node_name_to_node_param($node); 
     91            }; 
     92        } 
     93 
    8694        # What's the URL of the node? 
    8795        my $node_url = $self->{node_to_url};