1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00

Change bookmark link element

Use <span> instead of <a> when defining target.
This commit is contained in:
Andy McFadden 2021-05-23 15:28:30 -07:00
parent 3bda6df786
commit 6db18cc1df

View File

@ -673,8 +673,8 @@ namespace SourceGen {
string trimLabel = Symbol.TrimAndValidateLabel(parts.Label,
mFormatter.NonUniqueLabelPrefix, out bool isValid, out bool unused1,
out bool unused2, out bool unused3, out Symbol.LabelAnnotation unusedAnno);
anchorLabel = "<a id=\"" + LABEL_LINK_PREFIX + trimLabel +
"\">" + parts.Label + "</a>";
anchorLabel = "<span id=\"" + LABEL_LINK_PREFIX + trimLabel +
"\">" + parts.Label + "</span>";
}
}