From eecf76c1fba93fe781a8f8b0871fe3dae0ac1883 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 8 Jun 2019 16:34:55 -0500 Subject: [PATCH] Fix typo in short_description --- src/invidious/videos.cr | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 7964aa40..f1b8e3f8 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -806,10 +806,10 @@ struct Video def short_description short_description = self.description_html.gsub(/(
)|(|"|\n)/, { - "
" => " ", - "
" => " ", - "\"" => """, - "\n" => " ", + "
": " ", + "
": " ", + "\"": """, + "\n": " ", }) short_description = XML.parse_html(short_description).content[0..200].strip(" ")