summaryrefslogtreecommitdiff
path: root/src/BBCodeParser.php
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-25 21:08:34 +0000
committeruckelman <uckelman@nomic.net>2010-04-25 21:08:34 +0000
commit8a4f825e50db60a474229391601b28282a0d9c71 (patch)
tree91e60cb0d6eb487f24c335ea4e90498325c4cde0 /src/BBCodeParser.php
parente3f5f766759a72334e3a24132c56e6746f6f886d (diff)
Remove extra newlines between list items.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6759 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src/BBCodeParser.php')
-rw-r--r--src/BBCodeParser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php
index bb4012f..1d15763 100644
--- a/src/BBCodeParser.php
+++ b/src/BBCodeParser.php
@@ -99,7 +99,7 @@ class BBCodeParser {
break;
case '*':
- $out .= "\n" . str_repeat(' ', count($list_counter_stack));
+ $out .= str_repeat(' ', 2*count($list_counter_stack));
$c = array_pop($list_counter_stack);
if (is_int($c)) {