diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-10 02:38:24 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:05 +0530 |
commit | 0c8d631cbd247a4d34f19f825f70d5fe5b70ec36 (patch) | |
tree | 2a5bc87d63741801cd992fd93f00314f7def8b5e /src/html/html_document.c | |
parent | 306c09b04502f1a501d155bd1d6380191d1a4106 (diff) | |
download | libdom-0c8d631cbd247a4d34f19f825f70d5fe5b70ec36.tar.gz libdom-0c8d631cbd247a4d34f19f825f70d5fe5b70ec36.tar.bz2 |
LI <li> Element
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r-- | src/html/html_document.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c index 60c2edc..7ad18ea 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -38,6 +38,7 @@ #include "html/html_label_element.h" #include "html/html_ulist_element.h" #include "html/html_olist_element.h" +#include "html/html_li_element.h" #include "core/attr.h" #include "core/string.h" @@ -282,6 +283,9 @@ _dom_html_document_create_element_internal(dom_html_document *html, } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_OL])) { exc = _dom_html_o_list_element_create(html, namespace, prefix, (dom_html_o_list_element **) result); + } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_LI])) { + exc = _dom_html_li_element_create(html, namespace, prefix, + (dom_html_li_element **) result); } else { exc = _dom_html_element_create(html, tag_name, namespace, prefix, result); |