Skip to content

Commit

Permalink
Revert "type {HTMLCiteElement}"
Browse files Browse the repository at this point in the history
This reverts commit 3612285.
  • Loading branch information
saschanaz committed Dec 4, 2019
1 parent d5079bf commit 7c31963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/inlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function inlineBibrefMatches(matched, txt, conf) {
const cleanRef = ref.replace(/^(!|\?)/, "");
if (illegal && !conf.normativeReferences.has(cleanRef)) {
showInlineWarning(
/** @type {HTMLCiteElement} */ (cite.childNodes[1]),
/** @type {HTMLElement} */ (cite.childNodes[1]), // cite element
"Normative references in informative sections are not allowed. " +
`Remove '!' from the start of the reference \`[[${ref}]]\``
);
Expand Down

0 comments on commit 7c31963

Please sign in to comment.