summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRupinder Singh Khokhar <rsk1coder99@gmail.com>2014-07-28 08:37:00 (GMT)
committer Rupinder Singh Khokhar <rsk1coder99@gmail.com>2014-08-01 16:14:34 (GMT)
commit786ed30f394a95573308294137799e40bc9d0d74 (patch)
tree96d4f5d392bd5145a0977a933165f6c5b735c637
parenteb03e32c68b81e953b0c3d86b657505eff7a8469 (diff)
downloadlibhubbub-786ed30f394a95573308294137799e40bc9d0d74.tar.gz
libhubbub-786ed30f394a95573308294137799e40bc9d0d74.tar.bz2
small fix to 'in_head_noscript' moderupindersingh/libhubbub
-rw-r--r--src/treebuilder/in_head_noscript.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/treebuilder/in_head_noscript.c b/src/treebuilder/in_head_noscript.c
index d13ca30..9f3338a 100644
--- a/src/treebuilder/in_head_noscript.c
+++ b/src/treebuilder/in_head_noscript.c
@@ -48,7 +48,8 @@ hubbub_error handle_in_head_noscript(hubbub_treebuilder *treebuilder,
err = handle_in_body(treebuilder, token);
} else if (type == NOSCRIPT) {
handled = true;
- } else if (type == LINK || type == META || type == NOFRAMES ||
+ } else if (type == BASEFONT || type == BGSOUND ||
+ type == LINK || type == META || type == NOFRAMES ||
type == STYLE) {
/* Process as "in head" */
err = handle_in_head(treebuilder, token);