Updated Arbitrary instance for new image attribute parameter.
This commit is contained in:
parent
92d48fa65b
commit
564b0c43b0
1 changed files with 3 additions and 2 deletions
|
@ -60,10 +60,11 @@ arbInline n = frequency $ [ (60, liftM Str realString)
|
|||
x3 <- realString
|
||||
x2 <- liftM escapeURI realString
|
||||
return $ Link x1 (x2,x3))
|
||||
, (10, do x1 <- arbInlines (n-1)
|
||||
, (10, do x0 <- arbAttr
|
||||
x1 <- arbInlines (n-1)
|
||||
x3 <- realString
|
||||
x2 <- liftM escapeURI realString
|
||||
return $ Image x1 (x2,x3))
|
||||
return $ Image x0 x1 (x2,x3))
|
||||
, (2, liftM2 Cite arbitrary (arbInlines 1))
|
||||
, (2, liftM Note $ resize 3 $ listOf1 $ arbBlock (n-1))
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue