1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Do not treat <li> specially and handle </li>. See test/ul_a_li.html.

This commit is contained in:
witekfl 2012-06-12 14:31:55 +02:00
parent 5284ea185a
commit aead2de59a

View File

@ -1055,7 +1055,7 @@ end_element(struct element_info *ei,
/* If this was a non-pairable tag or an <li>; perform no further /* If this was a non-pairable tag or an <li>; perform no further
* processing. */ * processing. */
if (ei->type == ET_NON_PAIRABLE || ei->type == ET_LI) if (ei->type == ET_NON_PAIRABLE /* || ei->type == ET_LI */)
return html; return html;
/* Call the element's close handler. */ /* Call the element's close handler. */