# # == About # # This script forces all images with SVG source to have a hard-coded height to them. # This is mostly done for browsers that do not support CSS. /src="[^"]*\.svg"/ { result = "" while(match($0, /src="[^"]*\.svg"/)) { result = result substr($0, 1, RSTART + RLENGTH - 1) " height=18"; $0 = substr($0, RSTART + RLENGTH); } $0 = result $0; }