summaryrefslogtreecommitdiff
path: root/src/html/html_document.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 13:31:15 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-07-07 13:31:15 +0100
commit9d15242d827ab7b8c9ff17735edbb62f58593d61 (patch)
tree6988d17a854eb25793e8132ec72f2d03fe0d3786 /src/html/html_document.c
parentcd2010e145b2e436f76bb9961b307761e4ac86ee (diff)
downloadlibdom-9d15242d827ab7b8c9ff17735edbb62f58593d61.tar.gz
libdom-9d15242d827ab7b8c9ff17735edbb62f58593d61.tar.bz2
HTMLDocument: Convert memoised tag names to upper case
Diffstat (limited to 'src/html/html_document.c')
-rw-r--r--src/html/html_document.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/html_document.c b/src/html/html_document.c
index 10f1cc7..b93b253 100644
--- a/src/html/html_document.c
+++ b/src/html/html_document.c
@@ -159,7 +159,7 @@ _dom_html_document_create_element_internal(dom_html_document *html,
dom_string *prefix,
dom_html_element **result)
{
- if (dom_string_caseless_isequal(tag_name, html->memoised[hds_html])) {
+ if (dom_string_caseless_isequal(tag_name, html->memoised[hds_HTML])) {
return _dom_html_html_element_create(html, namespace, prefix,
(dom_html_html_element **) result);
}