summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-10 02:38:24 +0530
committerRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-06-11 04:27:05 +0530
commit82c8ae1c92a31e2395334b58bc2f6a3702cf06b7 (patch)
tree2a5bc87d63741801cd992fd93f00314f7def8b5e /src/html/html_document.c
parent4c706c539f2ae7f390c3463013e4e41428993c6c (diff)
downloadlibdom-82c8ae1c92a31e2395334b58bc2f6a3702cf06b7.tar.gz
libdom-82c8ae1c92a31e2395334b58bc2f6a3702cf06b7.tar.bz2
LI <li> Element
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r--src/html/html_document.c4
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);