mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Fix insert for empty descriptions
This commit is contained in:
		| @@ -1159,7 +1159,7 @@ def fetch_video(id, proxies, region) | ||||
|   info["avg_rating"] = "#{avg_rating}" | ||||
|  | ||||
|   description = html.xpath_node(%q(//p[@id="eow-description"])) | ||||
|   description = description ? description.to_xml(options: XML::SaveOptions::NO_DECL) : "" | ||||
|   description = description ? description.to_xml(options: XML::SaveOptions::NO_DECL) : %q(<p id="eow-description"></p>) | ||||
|  | ||||
|   wilson_score = ci_lower_bound(likes, likes + dislikes) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth