Skip to content

Commit

Permalink
Fixed issue where closing spans where inserted after their parent ele…
Browse files Browse the repository at this point in the history
…ments closing tag.
  • Loading branch information
Rowan Lewis committed Mar 5, 2011
1 parent 29f0440 commit 3655428
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bitter/formats/symphony.php
Expand Up @@ -56,9 +56,9 @@ protected function processLines() {

foreach ($characters as $character) {
if ($character == "\n") {
$this->endLine();

foreach ($stack as $alt_token) $this->output .= '</span>';

$this->endLine();
}

$this->output .= $character;
Expand Down

0 comments on commit 3655428

Please sign in to comment.