Changeset 360


Ignore:
Timestamp:
Nov 11, 2006, 5:06:50 PM (14 years ago)
Author:
nick
Message:

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

File:
1 edited

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};
Note: See TracChangeset for help on using the changeset viewer.