Skip to content

Commit

Permalink
syntaxHighlighting bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoskey committed Apr 23, 2024
1 parent 27a49d8 commit f61a193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/local/syntaxHighlighting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export const linkWrap = (env: Environment) => {
break;
}
case "keyword": {
const href = syntaxDocs[env.content]
const href = syntaxDocs[env.content] ?? ""
env.tag = 'a'
env.attributes.href = href
if (!href.startsWith("/")) {
Expand Down

0 comments on commit f61a193

Please sign in to comment.