You're right. The idea is to extend the length of unclosed start tags until the next open tag. Consider the following:
```html
<ul>
  <li>Item <b>one</b>
  <li>Item <b>two</b>
</ul>
```
I reworked the code to handle this situation better.