Skip to content

Commit 61200f9

Browse files
authored
Update commonmark-ext-gfm-alerts/src/main/java/org/commonmark/ext/gfm/alerts/internal/AlertPostProcessor.java
1 parent f3be489 commit 61200f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

commonmark-ext-gfm-alerts/src/main/java/org/commonmark/ext/gfm/alerts/internal/AlertPostProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ private void tryConvertToAlert(BlockQuote blockQuote) {
8787

8888
// Valid alert. Create Alert node and transfer children.
8989
var alert = new Alert(type);
90+
alert.setSourceSpans(blockQuote.getSourceSpans());
9091
blockQuote.insertAfter(alert);
9192

9293
// Remove the marker text from the first paragraph

0 commit comments

Comments
 (0)