markdownlint 0.32.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.32.1
4
+
5
+ - Fix behavior of MD054
6
+
3
7
  ## 0.32.0
4
8
 
5
9
  - Remove deprecated MD002/MD006
@@ -1,4 +1,4 @@
1
- /*! markdownlint 0.32.0 https://github.com/DavidAnson/markdownlint @license MIT */
1
+ /*! markdownlint 0.32.1 https://github.com/DavidAnson/markdownlint @license MIT */
2
2
  var markdownlint;
3
3
  /******/ (() => { // webpackBootstrap
4
4
  /******/ var __webpack_modules__ = ({
@@ -1657,7 +1657,7 @@ module.exports.referenceLinkImageData = function () {
1657
1657
  module.exports.deprecatedRuleNames = [];
1658
1658
  module.exports.fixableRuleNames = ["MD004", "MD005", "MD007", "MD009", "MD010", "MD011", "MD012", "MD014", "MD018", "MD019", "MD020", "MD021", "MD022", "MD023", "MD026", "MD027", "MD030", "MD031", "MD032", "MD034", "MD037", "MD038", "MD039", "MD044", "MD047", "MD049", "MD050", "MD051", "MD053", "MD054"];
1659
1659
  module.exports.homepage = "https://github.com/DavidAnson/markdownlint";
1660
- module.exports.version = "0.32.0";
1660
+ module.exports.version = "0.32.1";
1661
1661
 
1662
1662
  /***/ }),
1663
1663
 
@@ -6673,7 +6673,7 @@ module.exports = {
6673
6673
  if (destination) {
6674
6674
  // link kind is an inline link
6675
6675
  var title = getTokenTextByType(descendents, "resourceTitleString");
6676
- isError = !inline || !urlInline && autolink && !title && !image;
6676
+ isError = !inline || !urlInline && autolink && !image && !title && label === destination && autolinkAble(destination);
6677
6677
  } else {
6678
6678
  // link kind is a full/collapsed/shortcut reference link
6679
6679
  var isShortcut = !children.some(function (t) {