molti space handling
This commit is contained in:
parent
78597829ad
commit
4799e992ac
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ tagField = Field
|
||||||
{ fieldParse = \rawVals _ -> do
|
{ fieldParse = \rawVals _ -> do
|
||||||
case rawVals of
|
case rawVals of
|
||||||
[x] -> case null [x] of
|
[x] -> case null [x] of
|
||||||
False -> return $ Right $ Just $ T.splitOn " " x
|
False -> return $ Right $ Just $ removeItem "" $ T.splitOn " " x
|
||||||
True -> return $ Right $ Nothing
|
True -> return $ Right $ Nothing
|
||||||
_ -> return $ Left $ error "unexpected tag list"
|
_ -> return $ Left $ error "unexpected tag list"
|
||||||
, fieldView = \idAttr nameAttr val eResult isReq ->
|
, fieldView = \idAttr nameAttr val eResult isReq ->
|
||||||
|
|
Loading…
Reference in a new issue