File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ fromForm FPostfix = "postfix"
8080fromForm FPrefix = " prefix"
8181
8282makeScaled :: Rational -> Element -> Element
83- makeScaled x = withAttribute " minsize" p . withAttribute " maxsize" p
83+ makeScaled x = withAttribute " minsize" p . withAttribute " maxsize" p
8484 . setAttribute " stretchy" " true"
8585 where p = T. pack $ printf " %d%%" (round (100 * x) :: Int )
8686
@@ -142,11 +142,11 @@ setAttribute a v e = e { elAttribs = update (elAttribs e) }
142142 newAttr = Attr (unqual a) (T. unpack v)
143143 update [] = [newAttr]
144144 update (x: xs)
145- | qName (attrKey x) == a =
145+ | qName (attrKey x) == a =
146146 newAttr : xs
147- | otherwise =
147+ | otherwise =
148148 x : update xs
149-
149+
150150accent :: T. Text -> Element
151151accent = add_attr (Attr (unqual " accent" ) " true" ) .
152152 tunode " mo"
You can’t perform that action at this time.
0 commit comments