Improve the function name
This commit is contained in:
parent
57e25eaf39
commit
8f218307be
@ -536,10 +536,10 @@ genericNameFromLabel match label = do
|
||||
body = simpleBody res
|
||||
mlabel = parseHTML body
|
||||
$// C.element "label"
|
||||
>=> contentMatches label
|
||||
>=> isContentMatch label
|
||||
mfor = mlabel >>= attribute "for"
|
||||
|
||||
contentMatches x c
|
||||
isContentMatch x c
|
||||
| x `match` T.concat (c $// content) = [c]
|
||||
| otherwise = []
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user