Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CentralNic
parsedown
Commits
9fa415bc
Commit
9fa415bc
authored
Apr 28, 2014
by
Emanuil Rusev
Browse files
resolve #160
parent
37416b5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Parsedown.php
View file @
9fa415bc
...
...
@@ -537,7 +537,7 @@ class Parsedown
if
(
!
isset
(
$Block
[
'interrupted'
]))
{
$text
=
preg_replace
(
'/^[ ]{0,
2
}/'
,
''
,
$Line
[
'body'
]);
$text
=
preg_replace
(
'/^[ ]{0,
4
}/'
,
''
,
$Line
[
'body'
]);
$Block
[
'li'
][
'text'
]
[]
=
$text
;
...
...
test/data/deeply_nested_list.md
View file @
9fa415bc
-
li
-
li
-
li
-
li
-
li
-
li
-
li
-
li
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment