mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 01:53:30 -05:00 
			
		
		
		
	Remove width and height in icons
This commit is contained in:
		| @@ -2,4 +2,5 @@ | ||||
| {{- $icon := $icon_resource.Content -}} | ||||
| {{- $icon = replaceRE `<svg` `<svg class="icon"` $icon -}} | ||||
| {{- $icon = replaceRE `</svg>` (printf `<title>%s icon</title></svg>` .) $icon -}} | ||||
| {{- $icon = replaceRE `(width|height)="[0-9]*"` "" $icon -}} | ||||
| {{- $icon | safeHTML -}} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user