Skip to content

Commit

Permalink
fix: display urls with query params in list
Browse files Browse the repository at this point in the history
  • Loading branch information
Anders Juengst committed Nov 4, 2022
1 parent 07f9c6d commit 5a8f270
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -533,7 +533,7 @@ export class TdFlavoredMarkdownComponent
listRegExp,
(componentRef: ComponentRef<TdFlavoredListComponent>, 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(
Expand All @@ -560,7 +560,6 @@ export class TdFlavoredMarkdownComponent
}),
});
});

componentRef.instance.lines = lines;
}
);
Expand Down

0 comments on commit 5a8f270

Please sign in to comment.