Giraffe v0.1.0-alpha025 Release Notes
-
🔄 Changed the type
XmlAttribute
from theXmlViewEngine
to accept either astring * string
key value pair or a boolean attribute of typestring
. This was a missing to enable script tags such as<script src="..." async></script>
.➕ Added two helper functions (
attr
andflag
) to simplify the creation of those attributes:script [ attr "src" "http://example.org/example.js" attr "lang" "javascript" flag "async" ] []