From f8dca6ccbc4ce927ee035c3e60729c040b2280a0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 26 Jan 2011 20:44:25 -0800 Subject: Add support for attributes in inline Code. Additional related changes: * URLs in Code in autolinks now use class "url". * Require highlighting-kate 0.2.8.2, which omits the final
tag, essential for inline code. --- tests/Tests/Arbitrary.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Tests') diff --git a/tests/Tests/Arbitrary.hs b/tests/Tests/Arbitrary.hs index 0191fda7b..70809a71a 100644 --- a/tests/Tests/Arbitrary.hs +++ b/tests/Tests/Arbitrary.hs @@ -30,7 +30,7 @@ instance Arbitrary Inline where arbInline :: Int -> Gen Inline arbInline n = frequency $ [ (60, liftM Str realString) , (60, return Space) - , (10, liftM Code realString) + , (10, liftM2 Code arbitrary realString) , (5, return EmDash) , (5, return EnDash) , (5, return Apostrophe) -- cgit v1.2.3