fix - post titles containing periods result in urls containing periods

This commit is contained in:
Roy Johnson 2006-11-07 20:41:57 +00:00
parent c208b956a3
commit 1330a1c408
2 changed files with 21 additions and 0 deletions

View file

@ -35,6 +35,7 @@
- fix: Tasks now start at zero duration in the PM system
- fix: RSS for collaboration systems now properly shows in the head rather than the body
- fix: Gantt chart bars erroneously being shifted one day to the right
- fix: Post titles containing periods result in urls containing periods
7.1.4
- Template variables in the main Survey Template were out of date in the

View file

@ -255,6 +255,26 @@ sub exportAssetData {
#-------------------------------------------------------------------
=head2 fixUrl ( url )
Extends superclass method to remove periods from post urls
=head3 url
The url of the post
=cut
sub fixUrl {
my $self = shift;
my $url = shift;
$url =~ s/\./_/g;
$self->SUPER::fixUrl($url);
}
#-------------------------------------------------------------------
=head2 formatContent ( [ content, contentType ])
Formats post content for display.