From 8a4f825e50db60a474229391601b28282a0d9c71 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 25 Apr 2010 21:08:34 +0000 Subject: 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 --- src/BBCodeParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) { -- cgit v1.2.3