File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,17 @@ export const blockquoteCompiler = ({ renderer }) =>
1616 const calloutType = calloutData [ 2 ] . toLowerCase ( ) ; // "tip"
1717
1818 // Remove the callout mark from the paragraph raw text
19- firstParagraph . raw = firstParagraph . raw . replace ( calloutMark , '' ) . trimStart ( ) ;
19+ firstParagraph . raw = firstParagraph . raw
20+ . replace ( calloutMark , '' )
21+ . trimStart ( ) ;
2022 if ( firstParagraph . tokens && firstParagraph . tokens . length > 0 ) {
2123 firstParagraph . tokens . forEach ( t => {
22- if ( t . raw ) { t . raw = t . raw . replace ( calloutMark , '' ) . trimStart ( ) ; }
23- if ( t . text ) { t . text = t . text . replace ( calloutMark , '' ) . trimStart ( ) ; }
24+ if ( t . raw ) {
25+ t . raw = t . raw . replace ( calloutMark , '' ) . trimStart ( ) ;
26+ }
27+ if ( t . text ) {
28+ t . text = t . text . replace ( calloutMark , '' ) . trimStart ( ) ;
29+ }
2430 } ) ;
2531 }
2632
You can’t perform that action at this time.
0 commit comments