consistency with entity escaping
This commit is contained in:
parent
18629cb220
commit
645424a7d8
3 changed files with 8 additions and 5 deletions
|
@ -156,7 +156,7 @@ makeItem nsfw file info@(Info {bg}) = [b|
|
|||
</figure>
|
||||
|]
|
||||
where
|
||||
title = fromMaybe info.title info.galleryTitle
|
||||
title = escAttr $ fromMaybe info.title info.galleryTitle
|
||||
dir = takeDirectory file
|
||||
thumbnail = getThumb dir info
|
||||
nsfw' = if nsfw && anyNsfw info then [b|$& nsfw|] else ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue