etEnd(spanElm.childNodes[0], 6);
        document.execCommand('indent');

        // Indent the middle <li>
        const liElm = document.querySelector('li:nth-child(2)');
        range.setStart(liElm.childNodes[0], 0);
        range.setEnd(liElm.childNodes[0], 3);
        document.execCommand('indent');

        println(divElm.innerHTML);
    });
</script>
