Skip to content

Commit 5bc4855

Browse files
author
Steven Chun
committed
AI thoughts 1
1 parent 8c5b083 commit 5bc4855

3 files changed

Lines changed: 307 additions & 2 deletions

File tree

preview_links_cache.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

scripts/sidenote_filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function insertSidenotesForMarkdown(content) {
6868
"{% sidenote %}" +
6969
hexo.render.renderSync({ text: note.trim(), engine: "md" }) +
7070
"{% endsidenote %}";
71-
textContent = textContent.replace(key, tag);
71+
textContent = textContent?.replace(key, tag);
7272
}
7373
// Recombine, so that the sidenotes are also represented below.
7474
return textContent + kHorizontalLine + sidenoteContent;

0 commit comments

Comments
 (0)