require $& for whitespace before or after a builder
This commit is contained in:
parent
d18c19a2e6
commit
035aa78920
4 changed files with 16 additions and 10 deletions
|
@ -302,11 +302,11 @@ altButton img i = [b|
|
|||
|]
|
||||
where
|
||||
Image {label, nsfw, warning, download} = img
|
||||
nsfwClass = if nsfw then [b| class=nsfw|] else ""
|
||||
nsfwLabelClass = if nsfw then [b| class=nsfw-label|] else ""
|
||||
nsfwClass = if nsfw then [b|$& class=nsfw|] else ""
|
||||
nsfwLabelClass = if nsfw then [b|$& class=nsfw-label|] else ""
|
||||
path' = pageFile img
|
||||
link = fromMaybe (bigFile img) download
|
||||
warning' = ifJust warning \(escAttr -> w) -> [b| data-warning="$w"|]
|
||||
warning' = ifJust warning \(escAttr -> w) -> [b|$& data-warning="$w"|]
|
||||
|
||||
makeTags :: FilePath -> [Strict.Text] -> Builder
|
||||
makeTags undir tags =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue