summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-25 21:17:16 +0000
committeruckelman <uckelman@nomic.net>2010-04-25 21:17:16 +0000
commit1a0839bf5721963ce7657169828ccf0b909b76ae (patch)
tree2616b723f02b76da37ddca12fba64e8e5ec420cd /src
parentec947b4b08de552c1c9970cb596ac08c7e5a46e6 (diff)
Fixing list spacing.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6761 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-rw-r--r--src/BBCodeParser.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php
index 87c4175..0131dde 100644
--- a/src/BBCodeParser.php
+++ b/src/BBCodeParser.php
@@ -89,7 +89,6 @@ class BBCodeParser {
$out .= "\n";
break;
case 'list':
- $out .= "\n";
switch ($arg) {
case '1': $list_counter_stack[] = 1; break;
@@ -175,19 +174,10 @@ class BBCodeParser {
case 'list:u':
# TODO: untested
array_pop($list_counter_stack);
-
- if ($in[$i] != "\n") {
- # add newline after list only if there is not one already
- $out .= "\n";
- }
break;
case '*':
case '*:m':
# TODO: untested
- if ($in[$i] != "\n") {
- # add newline after item only if there is not one already
- $out .= "\n";
- }
break;
case 'img':
# TODO: untested