Changeset 927


Ignore:
Timestamp:
Mar 10, 2007, 6:41:32 PM (14 years 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 edited

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