mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Merge pull request #2323 from unixfox/fix-comments
Fix comments - related to #2322
This commit is contained in:
		| @@ -570,7 +570,7 @@ def content_to_comment_html(content) | ||||
|         else | ||||
|           text = %(<a href="/watch?v=#{video_id}">#{text}</a>) | ||||
|         end | ||||
|       elsif url = run["navigationEndpoint"]["commandMetadata"]?.try &.["webCommandMetadata"]["url"].as_s | ||||
|       elsif url = run.dig?("navigationEndpoint", "commandMetadata", "webCommandMetadata", "url").try &.as_s | ||||
|         text = %(<a href="#{url}">#{text}</a>) | ||||
|       end | ||||
|     end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 TheFrenchGhosty
					TheFrenchGhosty