summaryrefslogtreecommitdiff
path: root/src/treebuilder/after_head.c
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-09 17:25:11 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-09 17:25:11 +0000
commit81bd950d86306334f654b57b8c76f2196f7358c1 (patch)
treee50c9114e8fdde0df020c5cf2fb43695d8ace951 /src/treebuilder/after_head.c
parentfa2f53b42a037f62d8fed5f4f4a0691a1f2e88a4 (diff)
downloadlibhubbub-81bd950d86306334f654b57b8c76f2196f7358c1.tar.gz
libhubbub-81bd950d86306334f654b57b8c76f2196f7358c1.tar.bz2
Fix namespaces on manufactured elements.
svn path=/trunk/hubbub/; revision=4549
Diffstat (limited to 'src/treebuilder/after_head.c')
-rw-r--r--src/treebuilder/after_head.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/treebuilder/after_head.c b/src/treebuilder/after_head.c
index 60b84a7..0243727 100644
--- a/src/treebuilder/after_head.c
+++ b/src/treebuilder/after_head.c
@@ -99,6 +99,7 @@ bool handle_after_head(hubbub_treebuilder *treebuilder,
if (reprocess) {
/* Manufacture body */
+ tag.ns = HUBBUB_NS_HTML;
tag.name.type = HUBBUB_STRING_PTR;
tag.name.data.ptr = (const uint8_t *) "body";
tag.name.len = SLEN("body");