Changeset 927

Show
Ignore:
Timestamp:
03/10/07 18:41:32 (21 months ago)
Author:
kake
Message:

closes 178, Make sure that autocreated category nodes with hyphens in are capitalised correctly (added a test too).

Location:
trunk
Files:
1 added
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/MANIFEST

    r874 r927  
    7474t/17_commit_node.t 
    7575t/18_http_headers.t 
     76t/19_autocreate.t 
    7677t/21_rdf.t 
    7778t/22_feed_recent_changes.t 
  • trunk/lib/OpenGuides.pm

    r925 r927  
    11411141            my $node = $type . " " . $index; 
    11421142            # Uppercase the node name before checking for existence 
    1143             $node =~ s/ (\S+)/ \u$1/g; 
     1143            $node = $wiki->formatter->_do_freeupper( $node ); 
    11441144            unless ( $wiki->node_exists($node) ) { 
    11451145                my $category = $type eq "Category" ? "Category" : "Locales";