html_tag_short fix
This commit is contained in:
		
							parent
							
								
									f7d11c297d
								
							
						
					
					
						commit
						4bcfc3ad9f
					
				| @ -229,7 +229,7 @@ function html_tag_ex(string $tag, array $attributes, $content = "", bool $escape | |||||||
|     $content = htmlspecialchars($content); |     $content = htmlspecialchars($content); | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   return ($short && !empty($content)) ? "<$tag$attrs/>" : "<$tag$attrs>$content</$tag>"; |   return ($short && empty($content)) ? "<$tag$attrs/>" : "<$tag$attrs>$content</$tag>"; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function getClassPath($class, string $suffix = ".class"): string { | function getClassPath($class, string $suffix = ".class"): string { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user