Skip to content

Commit 71bfed4

Browse files
committed
Merge branch 'main' of github.com:FlorianWoelki/obsidian-icon-folder
2 parents b6159ab + 529134a commit 71bfed4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/editor/markdown-processors/icon-in-text.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ export const processIconInTextMarkdown = (
8181
) => {
8282
// Ignore if codeblock
8383
const codeElement = element.querySelector('pre > code');
84-
if (codeElement) {
84+
const callOut = element.querySelector('.callout');
85+
if (codeElement && !callOut) {
8586
return;
8687
}
8788

0 commit comments

Comments
 (0)