From 5a8f2707f1db25f7aff8d34441de671b680631cd Mon Sep 17 00:00:00 2001 From: Anders Juengst Date: Fri, 4 Nov 2022 16:36:29 +0100 Subject: [PATCH] fix: display urls with query params in list --- libs/markdown-flavored/src/lib/flavored-markdown.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } );