summaryrefslogtreecommitdiff
path: root/src/tokeniser/tokeniser.c
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-06-19 01:49:02 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-06-19 01:49:02 +0000
commit28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c (patch)
tree9f751d125edc733ef13a962348fbeb19af815e4e /src/tokeniser/tokeniser.c
parent1db020fb0e52995b2938512496740c11b81d61a3 (diff)
downloadlibhubbub-28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c.tar.gz
libhubbub-28b06ed590c8e0d2acb4a0d42e4eca4d6f0aef3c.tar.bz2
Add CDATA tests and the infrastructure to support them.
svn path=/trunk/hubbub/; revision=4410
Diffstat (limited to 'src/tokeniser/tokeniser.c')
-rw-r--r--src/tokeniser/tokeniser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tokeniser/tokeniser.c b/src/tokeniser/tokeniser.c
index 1c73e9d..2fe00ac 100644
--- a/src/tokeniser/tokeniser.c
+++ b/src/tokeniser/tokeniser.c
@@ -361,6 +361,9 @@ hubbub_error hubbub_tokeniser_setopt(hubbub_tokeniser *tokeniser,
case HUBBUB_TOKENISER_CONTENT_MODEL:
tokeniser->content_model = params->content_model.model;
break;
+ case HUBBUB_TOKENISER_PROCESS_CDATA:
+ tokeniser->process_cdata_section = params->process_cdata;
+ break;
}
return HUBBUB_OK;