yesod-core 1.6.23 → 1.6.23.1
raw patch · 4 files changed
+7/−3 lines, 4 files
Files
- ChangeLog.md +4/−0
- src/Yesod/Core/Class/Yesod.hs +1/−1
- test/YesodCoreTest/Meta.hs +1/−1
- yesod-core.cabal +1/−1
ChangeLog.md view
@@ -1,5 +1,9 @@ # ChangeLog for yesod-core +## 1.6.23.1++* Fix typo in creation of the description `<meta>` tag in `defaultLayout`. [#1766](https://github.com/yesodweb/yesod/pull/1766)+ ## 1.6.23 * Add idempotent versions of `setDescription`, `setDescriptionI`. These functions
src/Yesod/Core/Class/Yesod.hs view
@@ -88,7 +88,7 @@ <head> <title>#{pageTitle p} $maybe description <- pageDescription p- <meta type="description" content="#{description}">+ <meta name="description" content="#{description}"> ^{pageHead p} <body> $forall (status, msg) <- msgs
test/YesodCoreTest/Meta.hs view
@@ -48,7 +48,7 @@ res <- request defaultRequest { pathInfo = ["desc"] }- assertBody "<!DOCTYPE html>\n<html><head><title></title><meta type=\"description\" content=\"Second description\"></head><body></body></html>" res+ assertBody "<!DOCTYPE html>\n<html><head><title></title><meta name=\"description\" content=\"Second description\"></head><body></body></html>" res runner :: Session () -> IO () runner f = toWaiAppPlain App >>= runSession f
yesod-core.cabal view
@@ -1,5 +1,5 @@ name: yesod-core-version: 1.6.23+version: 1.6.23.1 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>