Add text-attribute tags to the star tagset.
authorKim Nguyễn <kn@lri.fr>
Thu, 1 Mar 2012 13:31:13 +0000 (14:31 +0100)
committerKim Nguyễn <kn@lri.fr>
Thu, 1 Mar 2012 13:31:13 +0000 (14:31 +0100)
src/tagSet.ml

index a7ebbd1..fd3a0fe 100644 (file)
@@ -12,7 +12,7 @@ include M
 let tag t = singleton t
 let pcdata = singleton Tag.pcdata
 let attribute = singleton Tag.attribute
-let star = diff any (cup pcdata attribute)
+let star = diff any (add Tag.attribute_data (cup pcdata attribute))
 let node = neg attribute
 
 let print ppf t =