Some indention changes

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
DUO Labs 2023-01-16 18:50:38 -05:00 committed by GitHub
parent 4b2d942024
commit 67ace4fd9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,12 +98,12 @@ module Invidious::Routes::API::V1::Videos
webvtt = String.build do |str|
str << <<-END_VTT
WEBVTT
Kind: captions
Language: #{tlang || caption.language_code}
WEBVTT
Kind: captions
Language: #{tlang || caption.language_code}
END_VTT
END_VTT
caption_nodes = caption_xml.xpath_nodes("//transcript/text")
caption_nodes.each_with_index do |node, i|
@ -128,11 +128,11 @@ module Invidious::Routes::API::V1::Videos
end
str << <<-END_CUE
#{start_time} --> #{end_time}
#{text}
#{start_time} --> #{end_time}
#{text}
END_CUE
END_CUE
end
end
end