Repository navigation
v1.15.1
·
907 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Close unclosed CSS blocks at EOF so repeated minification keeps the same output. (#1285) by @gaborbernat.
- Keep CSS zero-length dimensions followed by negative numbers stable across repeated minification. (#1286) by @gaborbernat.
- Preserve invalid CSS Unicode ranges so minification cannot turn them into valid font ranges. (#1287) by @gaborbernat.
- Keep empty
<h1>and<h2>elements when exporting Markdown with setext headings. (#1288) by @gaborbernat. - Escape a literal
!before a Markdown link so CommonMark preserves the link instead of treating it as an image. (#1289) by @gaborbernat. - Preserve zero-length units in CSS declarations when dropping them would change the value type or make an invalid declaration valid. (#1290) by @gaborbernat.
- Preserve emphasis around nonbreaking and other Unicode spaces in Markdown output. (#1291) by @gaborbernat.
- Preserve earlier CSS background longhands when a later shorthand has an invalid bare identifier. (#1292) by @gaborbernat.
- Keep invalid font shorthand dimensions invalid during CSS minification. (#1293) by @gaborbernat.
- Preserve hash tokens in CSS properties that do not accept colors. (#1294) by @gaborbernat.
- Preserve invalid integer syntax in CSS order declarations during minification. (#1295) by @gaborbernat.
- Preserve nested emphasis when adjacent closing delimiters would change the rendered Markdown. (#1296) by @gaborbernat.
- Preserve ordered-list numbering when HTML
reversedorvalueattributes cannot be represented in Markdown. (#1297) by @gaborbernat. - Preserve checked task-list items when serializing HTML to Markdown. (#1298) by @gaborbernat.
- Preserve
colspanandrowspanin Markdown tables by serializing those tables as HTML. (#1299) by @gaborbernat. - Drop element wrappers with invalid XML names while retaining their children during XML serialization. (#1300) by @gaborbernat.
- Preserve CSS exponent and unit boundaries during minification. (#1301) by @gaborbernat.
- Preserve numeric types when folding zero-valued CSS calc() expressions. (#1302) by @gaborbernat.
- Keep
calc()when folding a negative value for a CSS property that clamps it at computed-value time. (#1303) by @gaborbernat. - Keep valid CSS rules active when another rule with the same declarations has an invalid selector. (#1304) by @gaborbernat.
- Preserve emphasis next to strikethrough when punctuation would change how Markdown delimiters bind. (#1307) by @gaborbernat.
- Keep invalid background-position orders invalid during CSS minification. (#1308) by @gaborbernat.
- Preserve paragraphs whose ordered-list markers cross inline element boundaries in Markdown output. (#1309) by @gaborbernat.
- Preserve invalid border-color declarations with more than four values. (#1310) by @gaborbernat.
- Percent-encode carets in URL paths. (#1311) by @gaborbernat.
- Add root paths to hosted FTP and WebSocket URLs. (#1312) by @gaborbernat.
- Preserve invalid border-color declarations containing commas or slashes. (#1313) by @gaborbernat.
- Keep repeated CSS-wide keywords invalid in border-color declarations. (#1314) by @gaborbernat.
- Reject a line break after
throwin JavaScript minification. (#1315) by @gaborbernat. - Keep repeated CSS-wide keywords invalid in box shorthands. (#1316) by @gaborbernat.
- Use the document fallback URL for data: and javascript: base elements. (#1317) by @gaborbernat.
- Percent-encode usernames and passwords when normalizing URLs. (#1318) by @gaborbernat.
- Keep apostrophes in non-special URL queries when normalizing URLs. (#1319) by @gaborbernat.
- Collapse dot segments in hostless hierarchical URL paths. (#1320) by @gaborbernat.
- Preserve hostless non-special URL paths without adding an empty authority. (#1321) by @gaborbernat.
- Preserve invalid CSS
outlinedeclarations that use the retiredinvertcolor. (#1322) by @gaborbernat. - Keep overlong CSS
gap,overflow, andoverscroll-behaviorvalues invalid. (#1323) by @gaborbernat. - Trim trailing C0 controls from URLs before normalization. (#1324) by @gaborbernat.
- Keep invalid CSS
fontdeclarations with repeated explicit weights from becoming active after minification. (#1325) by @gaborbernat. - Keep invalid CSS
fontvalues with excess pre-size options invalid during minification. (#1326) by @gaborbernat. - Parse bracketed URL hosts correctly after userinfo. (#1327) by @gaborbernat.
- Resolve percent-encoded dot segments in URL paths. (#1328) by @gaborbernat.
- Preserve printable ASCII in opaque URL paths during normalization. (#1329) by @gaborbernat.
- Preserve invalid zero dimensions in CSS flex bases, background positions, and shadows. (#1330) by @gaborbernat.
- Preserve descending CSS Unicode ranges so invalid font descriptors stay ignored. (#1331) by @gaborbernat.
- Canonicalize dotted IPv4 tails inside IPv6 URL hosts. (#1332) by @gaborbernat.
- Preserve fractional and large CSS background-position offsets measured from an edge. (#1333) by @gaborbernat.
- Preserve malformed CSS Unicode-range lists instead of activating ignored font descriptors. (#1334) by @gaborbernat.
- Normalize
localhostfile URL hosts to empty. (#1335) by @gaborbernat. - Reject malformed IPv6 URL hosts. (#1336) by @gaborbernat.
- Normalize Windows drive separators in file URL paths. (#1337) by @gaborbernat.
- Preserve angle hue units and invalid dimensions in CSS color functions during minification. (#1338) by @gaborbernat.
- Preserve invalid CSS text-decoration shorthands when removing initial values would make them valid. (#1339) by @gaborbernat.
- Preserve in-scope namespace declarations and namespace URI attribute order when canonicalizing parsed XML. (#1340) by @gaborbernat.
- Preserve invalid CSS
text-emphasisshorthands and defaults beforevar()substitutions. (#1341) by @gaborbernat. - Honor
__html__on values returned by__html__in the MarkupSafe migration API. (#1342) by @gaborbernat. - Keep the source tree stable while
sanitize_nodecopies a node on free-threaded Python. (#1343) by @gaborbernat. - Preserve invalid border, outline, and column-rule shorthands that mix a CSS-wide keyword with another value. (#1344) by @gaborbernat.
- Accept
suffix=inMarkup.removesuffixin the MarkupSafe migration API. (#1345) by @gaborbernat. - Preserve box shadows whose length values are split by a color or
insettoken. (#1346) by @gaborbernat. - Restore base URL resolution speed after URL normalization changes. (#1347) by @gaborbernat.
- Trim trailing C0 controls and spaces before normalizing URLs. (#1348) by @gaborbernat.
- Normalize backslashes as path separators for special-scheme URLs. (#1349) by @gaborbernat.
- Keep text-decoration line keywords separated by default styles or colors so invalid values stay invalid. (#1350) by @gaborbernat.
- Reject invalid XML characters in doctype markup and literals. (#1351) by @gaborbernat.
- Preserve border, outline, and column-rule shorthands with duplicate style values. (#1352) by @gaborbernat.
- Preserve repeated substitution functions in the border-color shorthand. (#1353) by @gaborbernat.
- Remove dangling ampersands when cleaning empty URL queries. (#1354) by @gaborbernat.
- Preserve CSS drop-shadow offsets during minification. (#1355) by @gaborbernat.
- Preserve empty URL authorities during normalization. (#1356) by @gaborbernat.
- Keep Windows drive roots when normalizing file URLs. (#1357) by @gaborbernat.
- Preserve IDNA sigma mapping in URL hosts. (#1358) by @gaborbernat.
- Reject URL credentials when no host is present. (#1359) by @gaborbernat.
- Preserve letter case and percent-encode non-ASCII characters in opaque URL hosts. (#1360) by @gaborbernat.
- Treat Windows drive letters in file URL authorities as paths. (#1361) by @gaborbernat.
- Preserve non-ASCII port text when normalizing URLs. (#1362) by @gaborbernat.
- Keep the root slash when trimming URL paths. (#1363) by @gaborbernat.
- Accept long zero-padded URL ports within the valid numeric range. (#1364) by @gaborbernat.
- Reject userinfo in file URL authorities. (#1365) by @gaborbernat.
- Encode query-shaped URL fragments with the URL Standard fragment percent-encode set. (#1367) by @gaborbernat.
- Preserve long CSS percentage offsets during minification. (#1369) by @gaborbernat.
- Preserve long RGB channel values during CSS minification. (#1370) by @gaborbernat.
- Keep malformed RGB comma syntax invalid during CSS minification. (#1371) by @gaborbernat.
- Keep mixed legacy RGB syntax invalid during CSS minification. (#1372) by @gaborbernat.
- Keep font shorthands with misplaced CSS-wide keywords invalid during minification. (#1374) by @gaborbernat.
- Keep malformed font line-height values invalid during CSS minification. (#1375) by @gaborbernat.
- Preserve quoted font-family boundaries during CSS minification. (#1376) by @gaborbernat.
- Preserve nonbreaking and other Unicode spaces at Markdown prose edges. (#1377) by @gaborbernat.
- Keep duplicate background attachments invalid during CSS minification. (#1380) by @gaborbernat.
- Preserve leading U+FEFF characters in Markdown exports for CommonMark readers. (#1382) by @gaborbernat.
- Keep invalid background size keywords after a position slash from becoming valid lengths. (#1383) by @gaborbernat.
- Keep content inside a heading when a nested MathML or SVG element blocks its end tag. (#1385) by @gaborbernat.
- Preserve Unicode whitespace in base URLs. (#1386) by @gaborbernat.
- Keep whitespace in active formatting when table content moves outside the table. (#1387) by @gaborbernat.
- Keep empty nested list items when their only content is a trailing line break. (#1388) by @gaborbernat.
- Preserve spaces in opaque base URL paths. (#1389) by @gaborbernat.
- Keep invalid zero-unit RGB channels invalid when minifying CSS. (#1392) by @gaborbernat.
- Keep malformed background values stable across repeated CSS minification. (#1393) by @gaborbernat.
- Preserve line breaks inside emphasized Markdown that needs HTML tags. (#1394) by @gaborbernat.
Documentation
- Document the email address for private vulnerability reports. (#1390) by @gaborbernat.
Packaging
- Ship third-party license notices in the
licenses/directory. (#1378) by @gaborbernat.