mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-03 22:21:55 +00:00 
			
		
		
		
	Some indention changes
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
		@@ -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}
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
            END_VTT
 | 
			
		||||
          WEBVTT
 | 
			
		||||
          Kind: captions
 | 
			
		||||
          Language: #{tlang || caption.language_code}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
          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}
 | 
			
		||||
    
 | 
			
		||||
    
 | 
			
		||||
              END_CUE
 | 
			
		||||
            #{start_time} --> #{end_time}
 | 
			
		||||
            #{text}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
            END_CUE
 | 
			
		||||
          end
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user