summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-07-11 17:49:56 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-07-11 17:49:56 +0000
commitafbb1e8c00559054dba600388f1971e3177d9f10 (patch)
tree396978bdd515d24c31064457468cb5fb97497748 /src
parent5d1432915df6ee9beb85fb1a25d712ecc2d9b1c6 (diff)
downloadlibhubbub-afbb1e8c00559054dba600388f1971e3177d9f10.tar.gz
libhubbub-afbb1e8c00559054dba600388f1971e3177d9f10.tar.bz2
Reprocess tokens after breaking out of foreign content.
svn path=/trunk/hubbub/; revision=4611
Diffstat (limited to 'src')
-rw-r--r--src/treebuilder/in_foreign_content.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/treebuilder/in_foreign_content.c b/src/treebuilder/in_foreign_content.c
index b6f41dc..c400c1f 100644
--- a/src/treebuilder/in_foreign_content.c
+++ b/src/treebuilder/in_foreign_content.c
@@ -150,6 +150,7 @@ bool handle_in_foreign_content(hubbub_treebuilder *treebuilder,
type == TABLE || type == TT || type == U ||
type == UL || type == VAR) {
foreign_break_out(treebuilder);
+ reprocess = true;
} else {
hubbub_tag tag = token->data.tag;
@@ -172,6 +173,7 @@ bool handle_in_foreign_content(hubbub_treebuilder *treebuilder,
break;
case HUBBUB_TOKEN_EOF:
foreign_break_out(treebuilder);
+ reprocess = true;
break;
}