Images: Show the description as title
This commit is contained in:
		
					parent
					
						
							
								2edccf9341
							
						
					
				
			
			
				commit
				
					
						9f86465fb9
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1552,7 +1552,7 @@ class BBCode extends BaseObject
 | 
			
		|||
			function ($matches) use ($simple_html) {
 | 
			
		||||
				$matches[1] = self::proxyUrl($matches[1], $simple_html);
 | 
			
		||||
				$matches[2] = htmlspecialchars($matches[2], ENT_COMPAT);
 | 
			
		||||
				return '<img src="' . $matches[1] . '" alt="' . $matches[2] . '">';
 | 
			
		||||
				return '<img src="' . $matches[1] . '" alt="' . $matches[2] . '" title="' . $matches[2] . '">';
 | 
			
		||||
			},
 | 
			
		||||
			$text);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue