summaryrefslogtreecommitdiff
path: root/src/BBCodeParser.php
diff options
context:
space:
mode:
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)) {