Fix unbalanced li and strong tags.