@@ -52,7 +52,7 @@ tokenToBuilder (TokenBeginElement name attrs' isEmpty indent) =
5252 foldAttrs
5353 (if indent == 0 || lessThan3 attrs
5454 then oneSpace
55- else mconcat $ (" \n " : replicate indent " " ))
55+ else mconcat (" \n " : replicate indent " " ))
5656 attrs <>
5757 (if isEmpty then " />" else " >" )
5858 where
@@ -101,10 +101,10 @@ data EscapeContext = ECContent -- ^ <el>..</el>
101101{-# INLINE charUtf8XmlEscaped #-}
102102charUtf8XmlEscaped :: EscapeContext -> E. BoundedPrim Word8
103103charUtf8XmlEscaped ec =
104- ( condB (> _gt) (E. liftFixedToBounded E. word8) ) $
105- ( condB (== _lt) (fixed4 (_am,(_l,(_t,_sc) )))) $ -- <
104+ condB (> _gt) (E. liftFixedToBounded E. word8) $
105+ condB (== _lt) (fixed4 (_am,(_l,(_t,_sc)))) $ -- <
106106 escapeFor ECContent (condB (== _gt) (fixed4 (_am,(_g,(_t,_sc))))) $ -- >
107- ( condB (== _am) (fixed5 (_am,(_a,(_m,(_p,_sc) ))))) $ -- &
107+ condB (== _am) (fixed5 (_am,(_a,(_m,(_p,_sc))))) $ -- &
108108 escapeFor ECDoubleArg (condB (== _dq) (fixed6 (_am,(_q,(_u,(_o,(_t,_sc))))))) $ -- "
109109 escapeFor ECSingleArg (condB (== _sq) (fixed6 (_am,(_a,(_p,(_o,(_s,_sc))))))) $ -- '
110110 (E. liftFixedToBounded E. word8) -- fallback for Chars smaller than '>'
0 commit comments