diff --git a/libs/markdown-flavored/src/lib/flavored-markdown.component.ts b/libs/markdown-flavored/src/lib/flavored-markdown.component.ts index c0e3a2bec..c1f806022 100644 --- a/libs/markdown-flavored/src/lib/flavored-markdown.component.ts +++ b/libs/markdown-flavored/src/lib/flavored-markdown.component.ts @@ -533,7 +533,7 @@ export class TdFlavoredMarkdownComponent listRegExp, (componentRef: ComponentRef, match: string) => { const matchIndex = - match.indexOf('+') !== -1 ? match.indexOf('+') : match.indexOf('*'); + match.indexOf('*') !== -1 ? match.indexOf('*') : match.indexOf('+'); const lineTexts: string[] = match.split( new RegExp( @@ -560,7 +560,6 @@ export class TdFlavoredMarkdownComponent }), }); }); - componentRef.instance.lines = lines; } );