We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a48b37 commit a348d58Copy full SHA for a348d58
src/format/html/format-html.ts
@@ -862,6 +862,9 @@ function processLineAnnotation(
862
kCodeAnnotationTargetAttr,
863
`${targetAnnotation}`,
864
);
865
+ if (!interactive) {
866
+ annoteAnchorEl.setAttribute("onclick", "event.preventDefault();");
867
+ }
868
annoteAnchorEl.innerText = targetAnnotation || "?";
869
targetEl.parentElement?.insertBefore(annoteAnchorEl, targetEl);
870
targetEl.classList.add(kCodeAnnotationTargetClz);
0 commit comments