Be explicit when specifying svgs similar to html

This removes the big regexp check.