diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/replacer.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/util/replacer.js b/src/util/replacer.js index 9d602ca9..ea957eda 100644 --- a/src/util/replacer.js +++ b/src/util/replacer.js @@ -376,12 +376,7 @@ function evaluateTag(node, opts) { const label = enteredLabel || (transformName && transformName(value.name, node, input)) || - value.name; - - if (!valueFn && !label) { - logWarn`The link ${source} requires a label be entered!`; - return source; - } + null; const hash = node.data.hash && transformNodes(node.data.hash, opts); |