From ecfa221d3394eff4ff8dac89512b9bf2e6129ac3 Mon Sep 17 00:00:00 2001 From: Robert Zhou Date: Sun, 19 May 2024 19:29:39 -0700 Subject: [PATCH] Quote watch page topic for search query due to commas --- src/components/watch/WatchInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/watch/WatchInfo.vue b/src/components/watch/WatchInfo.vue index 022d24ad8..021e94824 100644 --- a/src/components/watch/WatchInfo.vue +++ b/src/components/watch/WatchInfo.vue @@ -257,7 +257,7 @@ export default { const topic = this.video.topic_id; const capitalizedTopic = topic[0].toUpperCase() + topic.slice(1); const { org } = this.video.channel; - let q = `type,value,text\ntopic,${topic},${capitalizedTopic}`; + let q = `type,value,text\ntopic,"${topic}","${capitalizedTopic}"`; if (org) { q += `\norg,${org},${org}`; }