redcarpet icon indicating copy to clipboard operation
redcarpet copied to clipboard

Lists truncate after 8 levels (new issue)

Open courtenay opened this issue 12 years ago • 7 comments

I understand ( #115 ) that lists should just flatten out after 8 levels, but in fact the data is removed completely.

Test:

- test1
    - test2
        - test3
            - test4
                - test5
                    - test6
                        - test7
                            - test8

observed:

<ul>
<li>test1

<ul>
<li>test2

<ul>
<li>test3

<ul>
<li>test4

<ul>
<li>test5

<ul>
<li></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul></li>
</ul>

courtenay avatar Apr 09 '13 19:04 courtenay

It actually looks like it truncates after 5 levels. Is that correct?

mattr- avatar Jun 02 '13 01:06 mattr-

yes, it truncates after 5 levels. I recently ran into this. I use markdown to write wiki which is very complex, so I really need nested list more than 5 levels. Will you fix it ? or how can I change it in my local gem?

evayuhz avatar Mar 11 '14 08:03 evayuhz

I modified it in my local gem , I know it not recommended. But I really need it.

evayuhz avatar Mar 12 '14 04:03 evayuhz

If you want to submit your change that you made as a pull request, we can take a look at it. Thanks!

mattr- avatar Mar 18 '14 02:03 mattr-

@evayuhz Sill have that fix? :crossed_fingers:

deckar01 avatar Apr 06 '17 19:04 deckar01

@evayuhz Yes it would really be appreciated if you could share it!

aspiers avatar Aug 08 '17 12:08 aspiers

@evayuhz could you please share the fix?

daianaszwimer avatar Apr 12 '21 18:04 daianaszwimer