Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-loofah for openSUSE:Factory checked in at 2022-10-12 18:25:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-loofah (Old) and /work/SRC/openSUSE:Factory/.rubygem-loofah.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-loofah" Wed Oct 12 18:25:17 2022 rev:24 rq:1010074 version:2.19.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-loofah/rubygem-loofah.changes 2022-05-16 18:11:00.825397283 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-loofah.new.2275/rubygem-loofah.changes 2022-10-12 18:27:06.966010097 +0200 @@ -1,0 +2,14 @@ +Mon Oct 10 13:09:46 UTC 2022 - Stephan Kulow <co...@suse.com> + +updated to version 2.19.0 + see installed CHANGELOG.md + + ## 2.19.0 / 2022-09-14 + + ### Features + + * Allow SVG 1.0 color keyword names in CSS attributes. These colors are part of the [CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/#svg-color) recommendation released 2022-01-18. [[#243](https://github.com/flavorjones/loofah/issues/243)] + + + +------------------------------------------------------------------- Old: ---- loofah-2.18.0.gem New: ---- loofah-2.19.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-loofah.spec ++++++ --- /var/tmp/diff_new_pack.viHONQ/_old 2022-10-12 18:27:07.358010961 +0200 +++ /var/tmp/diff_new_pack.viHONQ/_new 2022-10-12 18:27:07.362010970 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-loofah -Version: 2.18.0 +Version: 2.19.0 Release: 0 %define mod_name loofah %define mod_full_name %{mod_name}-%{version} ++++++ loofah-2.18.0.gem -> loofah-2.19.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md 2022-05-11 20:41:50.000000000 +0200 +++ new/CHANGELOG.md 2022-09-14 15:37:45.000000000 +0200 @@ -1,5 +1,12 @@ # Changelog +## 2.19.0 / 2022-09-14 + +### Features + +* Allow SVG 1.0 color keyword names in CSS attributes. These colors are part of the [CSS Color Module Level 3](https://www.w3.org/TR/css-color-3/#svg-color) recommendation released 2022-01-18. [[#243](https://github.com/flavorjones/loofah/issues/243)] + + ## 2.18.0 / 2022-05-11 ### Features Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/loofah/html5/safelist.rb new/lib/loofah/html5/safelist.rb --- old/lib/loofah/html5/safelist.rb 2022-05-11 20:41:50.000000000 +0200 +++ new/lib/loofah/html5/safelist.rb 2022-09-14 15:37:45.000000000 +0200 @@ -684,23 +684,16 @@ ACCEPTABLE_CSS_KEYWORDS = Set.new([ "!important", - "aqua", "auto", - "black", "block", - "blue", "bold", "both", "bottom", - "brown", "center", "collapse", "dashed", "dotted", "double", - "fuchsia", - "gray", - "green", "groove", "hidden", "inherit", @@ -708,35 +701,196 @@ "inset", "italic", "left", - "lime", - "maroon", "medium", - "navy", "none", "normal", "nowrap", - "olive", "outset", "pointer", - "purple", - "red", "revert", "ridge", "right", "separate", - "silver", "solid", - "teal", "thick", "thin", "top", "transparent", "underline", "unset", - "white", - "yellow", ]) + # https://www.w3.org/TR/css-color-3/#html4 + ACCEPTABLE_CSS_COLORS = Set.new([ + "aqua", + "black", + "blue", + "fuchsia", + "gray", + "green", + "lime", + "maroon", + "navy", + "olive", + "purple", + "red", + "silver", + "teal", + "white", + "yellow", + ]) + + # https://www.w3.org/TR/css-color-3/#svg-color + ACCEPTABLE_CSS_EXTENDED_COLORS = Set.new([ + "aliceblue", + "antiquewhite", + "aqua", + "aquamarine", + "azure", + "beige", + "bisque", + "black", + "blanchedalmond", + "blue", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "fuchsia", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "gray", + "green", + "greenyellow", + "grey", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "lime", + "limegreen", + "linen", + "magenta", + "maroon", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "navy", + "oldlace", + "olive", + "olivedrab", + "orange", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "purple", + "red", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "silver", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "teal", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "white", + "whitesmoke", + "yellow", + "yellowgreen", + ]) + # see https://www.quackit.com/css/functions/ # omit `url` and `image` from that list ACCEPTABLE_CSS_FUNCTIONS = Set.new([ @@ -854,7 +1008,7 @@ ALLOWED_ELEMENTS = ACCEPTABLE_ELEMENTS + MATHML_ELEMENTS + SVG_ELEMENTS ALLOWED_ATTRIBUTES = ACCEPTABLE_ATTRIBUTES + MATHML_ATTRIBUTES + SVG_ATTRIBUTES + ARIA_ATTRIBUTES ALLOWED_CSS_PROPERTIES = ACCEPTABLE_CSS_PROPERTIES - ALLOWED_CSS_KEYWORDS = ACCEPTABLE_CSS_KEYWORDS + ALLOWED_CSS_KEYWORDS = ACCEPTABLE_CSS_KEYWORDS + ACCEPTABLE_CSS_COLORS + ACCEPTABLE_CSS_EXTENDED_COLORS ALLOWED_CSS_FUNCTIONS = ACCEPTABLE_CSS_FUNCTIONS ALLOWED_SVG_PROPERTIES = ACCEPTABLE_SVG_PROPERTIES ALLOWED_PROTOCOLS = ACCEPTABLE_PROTOCOLS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/loofah/version.rb new/lib/loofah/version.rb --- old/lib/loofah/version.rb 2022-05-11 20:41:50.000000000 +0200 +++ new/lib/loofah/version.rb 2022-09-14 15:37:45.000000000 +0200 @@ -1,5 +1,5 @@ # frozen_string_literal: true module Loofah # The version of Loofah you are using - VERSION = "2.18.0" + VERSION = "2.19.0" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-05-11 20:41:50.000000000 +0200 +++ new/metadata 2022-09-14 15:37:45.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: loofah version: !ruby/object:Gem::Version - version: 2.18.0 + version: 2.19.0 platform: ruby authors: - Mike Dalessio @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2022-05-11 00:00:00.000000000 Z +date: 2022-09-14 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: crass @@ -199,7 +199,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.3.5 +rubygems_version: 3.3.7 signing_key: specification_version: 4 summary: Loofah is a general library for manipulating and transforming HTML/XML documents