From deb3fa3e7c22831a0b051280ec2cfee49c13aa76 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sun, 7 Jun 2020 12:58:41 -0400 Subject: [PATCH] maintenance: use hoe-markdown to manage markdown files specifically, CHANGELOG.md is now helpfully hyperlinked --- CHANGELOG.md | 94 ++++++++++++++++++++++++++-------------------------- Gemfile | 3 +- Rakefile | 4 +-- 3 files changed, 51 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01d1687d..ac1548ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,27 +4,27 @@ ### Features -* Allow more CSS length units: "ch", "vw", "vh", "Q", "lh", "vmin", "vmax". [#178] (Thanks, @JuanitoFatas!) +* Allow more CSS length units: "ch", "vw", "vh", "Q", "lh", "vmin", "vmax". [[#178](https://github.com/flavorjones/loofah/issues/178)] (Thanks, [@JuanitoFatas](https://github.com/JuanitoFatas)!) ### Fixes -* Remove comments from `Loofah::HTML::Document`s that exist outside the `html` element. [#80] +* Remove comments from `Loofah::HTML::Document`s that exist outside the `html` element. [[#80](https://github.com/flavorjones/loofah/issues/80)] ### Other changes -* Gem metadata being set [#181] (Thanks, @JuanitoFatas!) -* Test files removed from gem file [#180,#166,#159] (Thanks, @JuanitoFatas and @greysteil!) +* Gem metadata being set [[#181](https://github.com/flavorjones/loofah/issues/181)] (Thanks, [@JuanitoFatas](https://github.com/JuanitoFatas)!) +* Test files removed from gem file [[#180](https://github.com/flavorjones/loofah/issues/180),[#166](https://github.com/flavorjones/loofah/issues/166),[#159](https://github.com/flavorjones/loofah/issues/159)] (Thanks, [@JuanitoFatas](https://github.com/JuanitoFatas) and [@greysteil](https://github.com/greysteil)!) ## 2.4.0 / 2019-11-25 ### Features -* Allow CSS property `max-width` [#175] (Thanks, @bchaney!) -* Allow CSS sizes expressed in `rem` [#176, #177] -* Add `frozen_string_literal: true` magic comment to all `lib` files. [#118] +* Allow CSS property `max-width` [[#175](https://github.com/flavorjones/loofah/issues/175)] (Thanks, [@bchaney](https://github.com/bchaney)!) +* Allow CSS sizes expressed in `rem` [[#176](https://github.com/flavorjones/loofah/issues/176), [#177](https://github.com/flavorjones/loofah/issues/177)] +* Add `frozen_string_literal: true` magic comment to all `lib` files. [[#118](https://github.com/flavorjones/loofah/issues/118)] ## 2.3.1 / 2019-10-22 @@ -33,24 +33,24 @@ Address CVE-2019-15587: Unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. -This CVE's public notice is at https://github.com/flavorjones/loofah/issues/171 +This CVE's public notice is at [#171](https://github.com/flavorjones/loofah/issues/171) ## 2.3.0 / 2019-09-28 ### Features -* Expand set of allowed protocols to include `tel:` and `line:`. [#104, #147] -* Expand set of allowed CSS functions. [related to #122] -* Allow greater precision in shorthand CSS values. [#149] (Thanks, @danfstucky!) -* Allow CSS property `list-style` [#162] (Thanks, @jaredbeck!) -* Allow CSS keywords `thick` and `thin` [#168] (Thanks, @georgeclaghorn!) -* Allow HTML property `contenteditable` [#167] (Thanks, @andreynering!) +* Expand set of allowed protocols to include `tel:` and `line:`. [[#104](https://github.com/flavorjones/loofah/issues/104), [#147](https://github.com/flavorjones/loofah/issues/147)] +* Expand set of allowed CSS functions. [related to [#122](https://github.com/flavorjones/loofah/issues/122)] +* Allow greater precision in shorthand CSS values. [[#149](https://github.com/flavorjones/loofah/issues/149)] (Thanks, [@danfstucky](https://github.com/danfstucky)!) +* Allow CSS property `list-style` [[#162](https://github.com/flavorjones/loofah/issues/162)] (Thanks, [@jaredbeck](https://github.com/jaredbeck)!) +* Allow CSS keywords `thick` and `thin` [[#168](https://github.com/flavorjones/loofah/issues/168)] (Thanks, [@georgeclaghorn](https://github.com/georgeclaghorn)!) +* Allow HTML property `contenteditable` [[#167](https://github.com/flavorjones/loofah/issues/167)] (Thanks, [@andreynering](https://github.com/andreynering)!) ### Bug fixes -* CSS hex values are no longer limited to lowercase hex. Previously uppercase hex were scrubbed. [#165] (Thanks, @asok!) +* CSS hex values are no longer limited to lowercase hex. Previously uppercase hex were scrubbed. [[#165](https://github.com/flavorjones/loofah/issues/165)] (Thanks, [@asok](https://github.com/asok)!) ### Deprecations / Name Changes @@ -61,7 +61,7 @@ The following method and constants are hereby deprecated, and will be completely * Deprecate `Loofah::Helpers::ActionView::WhiteListSanitizer`, please use `Loofah::Helpers::ActionView::SafeListSanitizer` instead. * Deprecate `Loofah::HTML5::WhiteList`, please use `Loofah::HTML5::SafeList` instead. -Thanks to @JuanitoFatas for submitting these changes in #164 and for making the language used in Loofah more inclusive. +Thanks to [@JuanitoFatas](https://github.com/JuanitoFatas) for submitting these changes in [#164](https://github.com/flavorjones/loofah/issues/164) and for making the language used in Loofah more inclusive. ## 2.2.3 / 2018-10-30 @@ -70,7 +70,7 @@ Thanks to @JuanitoFatas for submitting these changes in #164 and for making the Address CVE-2018-16468: Unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. -This CVE's public notice is at https://github.com/flavorjones/loofah/issues/154 +This CVE's public notice is at [#154](https://github.com/flavorjones/loofah/issues/154) ## Meta / 2018-10-27 @@ -97,76 +97,76 @@ attribute scrubbers should they need to address CVE-2018-8048. Addresses CVE-2018-8048. Loofah allowed non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments. -This CVE's public notice is at https://github.com/flavorjones/loofah/issues/144 +This CVE's public notice is at [#144](https://github.com/flavorjones/loofah/issues/144) ## 2.2.0 / 2018-02-11 ### Features: -* Support HTML5 `
` tag. #133 (Thanks, @MothOnMars!) -* Recognize HTML5 block elements. #136 (Thanks, @MothOnMars!) -* Support SVG `` tag. #131 (Thanks, @baopham!) -* Support for whitelisting CSS functions, initially just `calc` and `rgb`. #122/#123/#129 (Thanks, @NikoRoberts!) -* Whitelist CSS property `list-style-type`. #68/#137/#142 (Thanks, @andela-ysanni and @NikoRoberts!) +* Support HTML5 `
` tag. [#133](https://github.com/flavorjones/loofah/issues/133) (Thanks, [@MothOnMars](https://github.com/MothOnMars)!) +* Recognize HTML5 block elements. [#136](https://github.com/flavorjones/loofah/issues/136) (Thanks, [@MothOnMars](https://github.com/MothOnMars)!) +* Support SVG `` tag. [#131](https://github.com/flavorjones/loofah/issues/131) (Thanks, [@baopham](https://github.com/baopham)!) +* Support for whitelisting CSS functions, initially just `calc` and `rgb`. [#122](https://github.com/flavorjones/loofah/issues/122)/[#123](https://github.com/flavorjones/loofah/issues/123)/[#129](https://github.com/flavorjones/loofah/issues/129) (Thanks, [@NikoRoberts](https://github.com/NikoRoberts)!) +* Whitelist CSS property `list-style-type`. [#68](https://github.com/flavorjones/loofah/issues/68)/[#137](https://github.com/flavorjones/loofah/issues/137)/[#142](https://github.com/flavorjones/loofah/issues/142) (Thanks, [@andela-ysanni](https://github.com/andela-ysanni) and [@NikoRoberts](https://github.com/NikoRoberts)!) ### Bugfixes: -* Properly handle nested `script` tags. #127. +* Properly handle nested `script` tags. [#127](https://github.com/flavorjones/loofah/issues/127). ## 2.1.1 / 2017-09-24 ### Bugfixes: -* Removed warning for unused variable. #124 (Thanks, @y-yagi!) +* Removed warning for unused variable. [#124](https://github.com/flavorjones/loofah/issues/124) (Thanks, [@y-yagi](https://github.com/y-yagi)!) ## 2.1.0 / 2017-09-24 ### Notes: -* Re-implemented CSS parsing and sanitization using the [crass](https://github.com/rgrove/crass) library. #91 +* Re-implemented CSS parsing and sanitization using the [crass](https://github.com/rgrove/crass) library. [#91](https://github.com/flavorjones/loofah/issues/91) ### Features: -* Added :noopener HTML scrubber (Thanks, @tastycode!) -* Support `data` URIs with the following media types: text/plain, text/css, image/png, image/gif, image/jpeg, image/svg+xml. #101, #120. (Thanks, @mrpasquini!) +* Added :noopener HTML scrubber (Thanks, [@tastycode](https://github.com/tastycode)!) +* Support `data` URIs with the following media types: text/plain, text/css, image/png, image/gif, image/jpeg, image/svg+xml. [#101](https://github.com/flavorjones/loofah/issues/101), [#120](https://github.com/flavorjones/loofah/issues/120). (Thanks, [@mrpasquini](https://github.com/mrpasquini)!) ### Bugfixes: -* The :unprintable scrubber now scrubs unprintable characters in CDATA nodes (like `