packages feed

shakespeare 2.0.1 → 2.0.1.1

raw patch · 3 files changed

+19/−2 lines, 3 files

Files

Text/IndentToBrace.hs view
@@ -97,7 +97,7 @@     tell' $         case () of             ()-                | not $ all isBlank inside -> "{"+                | not $ all isBlank inside -> " {"                 | ";" `isInfixOf` lineContent l -> ""                 | otherwise -> ";"     tell' $ replicate count '}'
shakespeare.cabal view
@@ -1,5 +1,5 @@ name:            shakespeare-version:         2.0.1+version:         2.0.1.1 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>
test/Text/Shakespeare/CssSpec.hs view
@@ -468,6 +468,23 @@             }
         |]
 
+    describe "font-face #139" $ do
+        it "lucius" $
+            celper "@font-face{font-family:myFirstFont;src:url(sansation_light.woff)}"
+            [lucius|
+                @font-face {
+                    font-family: myFirstFont;
+                    src: url(sansation_light.woff);
+                }
+            |]
+        it "cassius" $
+            celper "@font-face{font-family:myFirstFont;src:url(sansation_light.woff)}"
+            [cassius|
+                @font-face
+                    font-family: myFirstFont
+                    src: url(sansation_light.woff)
+            |]
+
 data Url = Home | Sub SubUrl
 data SubUrl = SubUrl
 render :: Url -> [(Text, Text)] -> Text