Skip to content

Commit

Permalink
whitespace (coding standards)
Browse files Browse the repository at this point in the history
  • Loading branch information
rraub committed Dec 17, 2015
1 parent 0369b2b commit 377357d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/services/excerpt-service.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function excerpt( $content_excerpt, $words = 50 ) {
' ',
array_slice( explode( ' ', $content ), 0, $words )
);

$length = strlen( $content );

$content = Truncate::truncateHtml( $content_excerpt, $length );
Expand All @@ -37,7 +37,6 @@ public function excerpt( $content_excerpt, $words = 50 ) {
}
}


return $content;
}

Expand Down

0 comments on commit 377357d

Please sign in to comment.