We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 147ef9f commit 066539bCopy full SHA for 066539b
src/lib/lib.ts
@@ -779,9 +779,10 @@ export function searchSessions(
779
780
export function getHashTags(head: t.SessionHead): string[] {
781
const regexp = /(?:^|\s)(#[a-zA-Z0-9_-]+)(?=$|[^a-zA-Z0-9_-])/g;
782
- const titleTagsIt = head.title.matchAll(regexp);
+ // const titleTagsIt = head.title.matchAll(regexp);
783
const descTagsIt = head.description.matchAll(regexp);
784
- return [...titleTagsIt, ...descTagsIt].map(m => m[1]);
+ // return [...titleTagsIt, ...descTagsIt].map(m => m[1]);
785
+ return [...descTagsIt].map(m => m[1]);
786
}
787
788
// export function limitRecentSessions(sessions: t.SessionUIListing[], limit: number): t.SessionUIListing[] {
0 commit comments