mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-06 05:57:29 +00:00
@@ -945,7 +945,7 @@ def extract_video_info(video_id : String, proxy_region : String? = nil, context_
|
||||
# Description
|
||||
|
||||
description_html = video_secondary_renderer.try &.dig?("description", "runs")
|
||||
.try &.as_a.try { |t| content_to_comment_html(t).gsub("\n", "<br/>") }
|
||||
.try &.as_a.try { |t| content_to_comment_html(t) }
|
||||
|
||||
params["descriptionHtml"] = JSON::Any.new(description_html || "<p></p>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user