accept <? and ?>, useful for parsing XML, especially sitemaps. bump version

This commit is contained in:
Alp Mestanogullari 2015-01-06 15:55:02 +01:00
parent c0c5646df3
commit 50ffc16541
2 changed files with 3 additions and 1 deletions

View File

@ -95,6 +95,7 @@ tagopen cventities = do
char '<'
possibly '<'
possibly '!'
possibly '?'
skipSpace
i <- ident
(as, autoclose) <- attributes cventities
@ -125,6 +126,7 @@ attributes cventities = postProcess `fmap` go emptyL
tagends = skipSpace >> parseEnd
parseEnd = autoClosing
<|> ("?>" *> return False)
<|> (">" *> return False)
autoClosing = do

View File

@ -1,5 +1,5 @@
name: taggy
version: 0.1.2
version: 0.1.3
synopsis: Efficient and simple HTML/XML parsing library
description:
/taggy/ is a simple package for parsing HTML (and should work with XML)