Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hitapia committed Feb 3, 2015
1 parent 2108a32 commit 35aefa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PlancakeEmailParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function getBody($returnType=self::PLAINTEXT)
$boundaries = $matches[1];
// sometimes boundaries are delimited by quotes - we want to remove them
foreach($boundaries as $i => $v) {
$boundaries[$i] = str_replace(array("'", '"'), '', $v);
$boundaries[$i] = trim(str_replace(array("'", '"'), '', $v));
}

foreach ($this->rawBodyLines as $line) {
Expand Down

0 comments on commit 35aefa4

Please sign in to comment.