summaryrefslogtreecommitdiff
path: root/src/html/html_quote_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/html_quote_element.c')
-rw-r--r--src/html/html_quote_element.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/html/html_quote_element.c b/src/html/html_quote_element.c
index 988ef5b..17961c0 100644
--- a/src/html/html_quote_element.c
+++ b/src/html/html_quote_element.c
@@ -32,7 +32,7 @@ static struct dom_element_protected_vtable _protect_vtable = {
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
- dom_string *namespace, dom_string *prefix,
+ dom_string *tag_name, dom_string *namespace, dom_string *prefix,
struct dom_html_quote_element **ele)
{
struct dom_node_internal *node;
@@ -46,7 +46,8 @@ dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
node->base.vtable = &_dom_html_element_vtable;
node->vtable = &_protect_vtable;
- return _dom_html_quote_element_initialise(doc, namespace, prefix, *ele);
+ return _dom_html_quote_element_initialise(doc, tag_name,
+ namespace, prefix, *ele);
}
/**
@@ -57,12 +58,11 @@ dom_exception _dom_html_quote_element_create(struct dom_html_document *doc,
* \return DOM_NO_ERR on success, appropriate dom_exception on failure.
*/
dom_exception _dom_html_quote_element_initialise(struct dom_html_document *doc,
- dom_string *namespace, dom_string *prefix,
+ dom_string *tag_name, dom_string *namespace, dom_string *prefix,
struct dom_html_quote_element *ele)
{
return _dom_html_element_initialise(doc, &ele->base,
- doc->elements[DOM_HTML_ELEMENT_TYPE_Q],
- namespace, prefix);
+ tag_name, namespace, prefix);
}
/**