diff options
author | rsk1994 <rsk1coder99@gmail.com> | 2014-05-10 01:32:06 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-06-11 04:27:05 +0530 |
commit | 306c09b04502f1a501d155bd1d6380191d1a4106 (patch) | |
tree | ed8c98be3cd6c6473f13c957e9daf849d86168fa /src/html/html_document.c | |
parent | b17260bd09aff0c689eb5296082fc473f9f76126 (diff) | |
download | libdom-306c09b04502f1a501d155bd1d6380191d1a4106.tar.gz libdom-306c09b04502f1a501d155bd1d6380191d1a4106.tar.bz2 |
OList <ol> 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 34e2bf0..60c2edc 100644 --- a/src/html/html_document.c +++ b/src/html/html_document.c @@ -37,6 +37,7 @@ #include "html/html_br_element.h" #include "html/html_label_element.h" #include "html/html_ulist_element.h" +#include "html/html_olist_element.h" #include "core/attr.h" #include "core/string.h" @@ -278,6 +279,9 @@ _dom_html_document_create_element_internal(dom_html_document *html, } else if (dom_string_caseless_isequal(tag_name, html->memoised[hds_UL])) { exc = _dom_html_u_list_element_create(html, namespace, prefix, (dom_html_u_list_element **) result); + } 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 { exc = _dom_html_element_create(html, tag_name, namespace, prefix, result); |