Skip to content

Commit

Permalink
Tratamento para fechamento da tag MEMO
Browse files Browse the repository at this point in the history
  • Loading branch information
cassioperin-bling committed Sep 11, 2020
1 parent 801f0cd commit e529daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/OfxParser/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ private function closeUnclosedXmlTags($line)
$line = trim($line);
if (preg_match('/<MEMO>$/', $line) === 1) {
return '<MEMO></MEMO>';
} else if ($line == "</MEMO>") {
return "";
}

// Matches: <SOMETHING>blah
Expand Down

0 comments on commit e529daf

Please sign in to comment.