Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
mathcals committed Nov 18, 2019
1 parent 2646f9e commit 9b0a1f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 0 additions & 8 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,14 +292,6 @@ public function parseArray($stoppers = [], $forbidden = []) {
$forbidden_aantal_open--;
$text .= $entry;
}
} elseif ($this->bb_mode && $entry == '[/]') { // [ubboff] cannot be switched off with this tag.
if ($this->level >= 1) {
$this->level--;

return $text;
} else {
// Weird, [/] while nothing is open...
}
} else {

$tag = $this->getTag($entry);
Expand Down
1 change: 1 addition & 0 deletions tests/__snapshots__/TagsTest__testCommentaar2__1.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return 'zichtbaar';

0 comments on commit 9b0a1f1

Please sign in to comment.