mirror of
				https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
				synced 2024-08-15 00:53:38 +00:00 
			
		
		
		
	Fix description in video API endpoint
This commit is contained in:
		
							parent
							
								
									16c7d99dd8
								
							
						
					
					
						commit
						4725f7222b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1911,7 +1911,7 @@ get "/api/v1/videos/:id" do |env|
 | 
				
			||||||
        generate_thumbnails(json, video.id)
 | 
					        generate_thumbnails(json, video.id)
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      description = html_to_description(video.description)
 | 
					      description, video.description = html_to_description(video.description)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      json.field "description", description
 | 
					      json.field "description", description
 | 
				
			||||||
      json.field "descriptionHtml", video.description
 | 
					      json.field "descriptionHtml", video.description
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue