ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Pod.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Pod.pm (file contents):
Revision 1.5 by root, Sun Aug 13 03:20:56 2006 UTC vs.
Revision 1.6 by root, Sun Aug 13 14:30:06 2006 UTC

79sub section(@) { 79sub section(@) {
80 map section_of $_, &find 80 map section_of $_, &find
81} 81}
82 82
83sub as_label(@) { 83sub as_label(@) {
84 my $text =
84 join "\n", 85 join "\n",
85 map +("\xa0" x ($_->{indent} / 4)) . $_->{markup}, 86 map +("\xa0" x ($_->{indent} / 4)) . $_->{markup},
86 @_ 87 @_;
88
89 $text =~ s/^\s+//;
90 $text =~ s/\s+$//;
91
92 $text
93}
94
95sub section_label(@) {
96 as_label &section
87} 97}
88 98
891 991

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines