Fixed Li.dom bug where html strings like <th></th> weren't giving
expected result.