Skip to content

Commit

Permalink
terminate on full filepath match (#10353)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganicke authored Jan 29, 2025
1 parent d2a55d3 commit 74b7678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxtlib/docsrender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace pxt.docs {
return true
}
}
if (d.filepath && !!m.path && d.filepath.indexOf(m.path) == 0) {
if (d.filepath && !!m.path && d.filepath == m.path) {
tocPath.push(m)
return true
}
Expand Down

0 comments on commit 74b7678

Please sign in to comment.