Tag a -> Bool +tagsoup

isTagClose :: Tag str -> Bool
tagsoup Text.HTML.TagSoup
Test if a Tag is a TagClose
isTagOpen :: Tag str -> Bool
tagsoup Text.HTML.TagSoup
Test if a Tag is a TagOpen
isTagPosition :: Tag str -> Bool
tagsoup Text.HTML.TagSoup
Test if a Tag is a TagPosition
isTagText :: Tag str -> Bool
tagsoup Text.HTML.TagSoup
Test if a Tag is a TagText
isTagWarning :: Tag str -> Bool
tagsoup Text.HTML.TagSoup
Test if a Tag is a TagWarning
tagClose :: (str -> Bool) -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
match an closing tag
tagComment :: (str -> Bool) -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
tagText :: (str -> Bool) -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
match a text
tagOpen :: (str -> Bool) -> ([Attribute str] -> Bool) -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
match an opening tag
isTagCloseName :: Eq str => str -> Tag str -> Bool
tagsoup Text.HTML.TagSoup
Returns True if the Tag is TagClose and matches the given name
isTagOpenName :: Eq str => str -> Tag str -> Bool
tagsoup Text.HTML.TagSoup
Returns True if the Tag is TagOpen and matches the given name
tagCloseLit :: Eq str => str -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
match a closing tag's name literally
tagCloseNameLit :: Eq str => str -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
Check if the 'Tag str' is TagClose and matches the given name
tagOpenNameLit :: Eq str => str -> Tag str -> Bool
tagsoup Text.HTML.TagSoup.Match
Check if the 'Tag str' is TagOpen and matches the given name
(~/=) :: (StringLike str, TagRep t) => Tag str -> t -> Bool
tagsoup Text.HTML.TagSoup
Negation of ~==
(~==) :: (StringLike str, TagRep t) => Tag str -> t -> Bool
tagsoup Text.HTML.TagSoup
Performs an inexact match, the first item should be the thing to match. If the second item is a blank string, that is considered to match anything. For example: > (TagText "test" ~== TagText "" ) == True > (TagText "test" ~== TagText "test") == True > (TagText "test" ~== TagText "soup") == False For TagOpen missing attributes on the right are allowed.
optMinimize :: RenderOptions str -> str -> Bool
tagsoup Text.HTML.TagSoup
Minimise <b></b> -> <b/> (default = minimise only <br> tags)
optRawTag :: RenderOptions str -> str -> Bool
tagsoup Text.HTML.TagSoup
Should a tag be output with no escaping (default = true only for script)
maybeTagText :: Tag str -> Maybe str
tagsoup Text.HTML.TagSoup
Extract the string from within TagText, otherwise Nothing
maybeTagWarning :: Tag str -> Maybe str
tagsoup Text.HTML.TagSoup
Extract the string from within TagWarning, otherwise Nothing

Show more results