Hello community,
here is the log from the commit of package ghc-shakespeare for openSUSE:Factory checked in at 2016-07-01 09:58:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-shakespeare (Old)
and /work/SRC/openSUSE:Factory/.ghc-shakespeare.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-shakespeare"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-shakespeare/ghc-shakespeare.changes 2016-04-30 23:30:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-shakespeare.new/ghc-shakespeare.changes 2016-07-01 09:58:47.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jun 21 04:54:08 UTC 2016 - mimi.vx@gmail.com
+
+- update to 2.0.9
+* Better empty HTML tag list
+
+-------------------------------------------------------------------
Old:
----
shakespeare-2.0.8.2.tar.gz
New:
----
shakespeare-2.0.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-shakespeare.spec ++++++
--- /var/tmp/diff_new_pack.JYWe55/_old 2016-07-01 09:58:48.000000000 +0200
+++ /var/tmp/diff_new_pack.JYWe55/_new 2016-07-01 09:58:48.000000000 +0200
@@ -20,7 +20,7 @@
%bcond_with tests
Name: ghc-shakespeare
-Version: 2.0.8.2
+Version: 2.0.9
Release: 0
Summary: A toolkit for making compile-time interpolated templates
Group: System/Libraries
++++++ shakespeare-2.0.8.2.tar.gz -> shakespeare-2.0.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shakespeare-2.0.8.2/ChangeLog.md new/shakespeare-2.0.9/ChangeLog.md
--- old/shakespeare-2.0.8.2/ChangeLog.md 2016-04-15 11:13:07.000000000 +0200
+++ new/shakespeare-2.0.9/ChangeLog.md 2016-06-20 19:02:14.000000000 +0200
@@ -1,3 +1,7 @@
+### 2.0.9
+
+* Better empty HTML tag list
+
### 2.0.8.1
* Make it work with ghc-8.0 [#181](https://github.com/yesodweb/shakespeare/pull/181)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shakespeare-2.0.8.2/Text/Hamlet/Parse.hs new/shakespeare-2.0.9/Text/Hamlet/Parse.hs
--- old/shakespeare-2.0.8.2/Text/Hamlet/Parse.hs 2016-03-27 12:59:30.000000000 +0200
+++ new/shakespeare-2.0.9/Text/Hamlet/Parse.hs 2016-06-20 19:02:14.000000000 +0200
@@ -630,21 +630,28 @@
lift (HamletSettings a b c d) = [|HamletSettings $(lift a) $(lift b) $(lift c) $(lift d)|]
+-- See the html specification for a list of all void elements:
+-- https://www.w3.org/TR/html/syntax.html#void-elements
htmlEmptyTags :: Set String
htmlEmptyTags = Set.fromAscList
[ "area"
, "base"
- , "basefont"
+ , "basefont" -- not html 5
, "br"
, "col"
- , "frame"
+ , "embed"
+ , "frame" -- not html 5
, "hr"
, "img"
, "input"
- , "isindex"
+ , "isindex" -- not html 5
+ , "keygen"
, "link"
, "meta"
, "param"
+ , "source"
+ , "track"
+ , "wbr"
]
-- | Defaults settings: HTML5 doctype and HTML-style empty tags.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shakespeare-2.0.8.2/shakespeare.cabal new/shakespeare-2.0.9/shakespeare.cabal
--- old/shakespeare-2.0.8.2/shakespeare.cabal 2016-04-24 15:29:42.000000000 +0200
+++ new/shakespeare-2.0.9/shakespeare.cabal 2016-06-20 19:02:14.000000000 +0200
@@ -1,5 +1,5 @@
name: shakespeare
-version: 2.0.8.2
+version: 2.0.9
license: MIT
license-file: LICENSE
author: Michael Snoyman