diff options
author | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-07-04 04:23:35 +0530 |
---|---|---|
committer | Rupinder Singh Khokhar <rsk1coder99@gmail.com> | 2014-08-01 21:44:31 +0530 |
commit | 57abb7e471669e31e851743763774ddd6b7fafb4 (patch) | |
tree | 8d6597aa1b6bc706adcbf75623640bb7758cea85 /src | |
parent | 95c40d62de1ce5960448ef856fd6cb1845ed03eb (diff) | |
download | libhubbub-57abb7e471669e31e851743763774ddd6b7fafb4.tar.gz libhubbub-57abb7e471669e31e851743763774ddd6b7fafb4.tar.bz2 |
small fix to handle the param tag open
Diffstat (limited to 'src')
-rw-r--r-- | src/treebuilder/in_body.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/treebuilder/in_body.c b/src/treebuilder/in_body.c index be7071b..c9d1780 100644 --- a/src/treebuilder/in_body.c +++ b/src/treebuilder/in_body.c @@ -331,7 +331,7 @@ hubbub_error process_start_tag(hubbub_treebuilder *treebuilder, } else if (type == AREA || type == BASEFONT || type == BGSOUND || type == BR || type == EMBED || type == IMG || type == INPUT || - type == PARAM || type == WBR) { + type == WBR) { err = reconstruct_active_formatting_list(treebuilder); if (err != HUBBUB_OK) return err; @@ -406,6 +406,9 @@ hubbub_error process_start_tag(hubbub_treebuilder *treebuilder, type == TD || type == TFOOT || type == TH || type == THEAD || type == TR) { /** \todo parse error */ + } else if (type == PARAM) { + err = insert_element(treebuilder, &token->data.tag, false); + /** \todo ack sc flag */ } else { err = process_phrasing_in_body(treebuilder, token); } |