--- deliantra/Deliantra-Client/DC/Pod.pm 2006/08/13 03:20:56 1.5 +++ deliantra/Deliantra-Client/DC/Pod.pm 2006/08/13 14:30:06 1.6 @@ -81,9 +81,19 @@ } sub as_label(@) { - join "\n", - map +("\xa0" x ($_->{indent} / 4)) . $_->{markup}, - @_ + my $text = + join "\n", + map +("\xa0" x ($_->{indent} / 4)) . $_->{markup}, + @_; + + $text =~ s/^\s+//; + $text =~ s/\s+$//; + + $text +} + +sub section_label(@) { + as_label §ion } 1