It violates the standard and you should avoid such practice. Proper nesting:
<ul>
<li>First
<ul>
<li>One</li>
<li>Two</li>
</ul>
</li>
<li>Second</li>
</ul>
Please, put a demo of the problem online...

