Warning, /education/cantor/thirdparty/discount-2.2.6-patched/tests/list3deep.t is written in an unsupported language. File is not indexed.

0001 . tests/functions.sh
0002 title "deeply nested lists"
0003 
0004 rc=0
0005 MARKDOWN_FLAGS=
0006 
0007 LIST='
0008  *  top-level list ( list 1)
0009      +  second-level list (list 2)
0010         * first item third-level list (list 3)
0011      +  * second item, third-level list, first item. (list 4)
0012         * second item, third-level list, second item.
0013  *  top-level list again.'
0014 
0015 RSLT='<ul>
0016 <li>top-level list ( list 1)
0017 
0018 <ul>
0019 <li>second-level list (list 2)
0020 
0021 <ul>
0022 <li>first item third-level list (list 3)</li>
0023 </ul>
0024 </li>
0025 <li><ul>
0026 <li>second item, third-level list, first item. (list 4)</li>
0027 <li>second item, third-level list, second item.</li>
0028 </ul>
0029 </li>
0030 </ul>
0031 </li>
0032 <li>top-level list again.</li>
0033 </ul>'
0034 
0035 try 'thrice-nested lists' "$LIST" "$RSLT"
0036 
0037 summary $0
0038 exit $rc