Skip to content

Commit 7dadbd2

Browse files
committed
Read icon inline as well.
1 parent 40af599 commit 7dadbd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_extensions/custom-callout/customcallout.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ local function convertToCustomCallout(div)
9797
type = callout.type,
9898
content = div.content,
9999
title = div.attributes.title or callout.title,
100-
icon = callout.icon,
100+
icon = div.attributes.icon or callout.icon,
101101
appearance = div.attributes.appearance or callout.appearance,
102102
collapse = div.attributes.collapse or callout.collapse
103103
}

0 commit comments

Comments
 (0)