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 f9da442 commit ddfbac2Copy full SHA for ddfbac2
lib/docs/wasm/html_render.zig
@@ -91,7 +91,7 @@ pub fn fileSourceHtml(
91
while (true) {
92
if (next_annotate_index >= options.source_location_annotations.len) break;
93
const next_annotation = options.source_location_annotations[next_annotate_index];
94
- if (cursor < next_annotation.file_byte_offset) break;
+ if (cursor <= next_annotation.file_byte_offset) break;
95
try out.writer(gpa).print("<span id=\"{s}{d}\"></span>", .{
96
options.annotation_prefix, next_annotation.dom_id,
97
});
0 commit comments