mirror of
https://github.com/alpmestan/taggy.git
synced 2024-10-05 19:37:44 +03:00
accept <? and ?>, useful for parsing XML, especially sitemaps. bump version
This commit is contained in:
parent
c0c5646df3
commit
50ffc16541
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user