Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bit of clean-up.

  • Loading branch information...
commit 121470c66b20a1bd4fd4aef0ffe4555a78ab21a1 1 parent 798407d
Ashley Pond V authored
Showing with 2 additions and 10 deletions.
  1. +2 −10 lib/tRTF.pm
12 lib/tRTF.pm
View
@@ -43,16 +43,8 @@ sub BUILD {
sub text_content {
my $self = shift;
- my $text = "";
- $text = $self->is_text;
-
-# and $self->parent->first_child->argument eq "rtlch";
-# and $self->parent->first_child->argument ne "*";
-
- for my $kid ( $self->children )
- {
- $text .= $kid->text_content;
- }
+ my $text = $self->is_text;
+ $text .= $_->text_content for $self->children;
$text;
}
Please sign in to comment.
Something went wrong with that request. Please try again.