Applied pull request by micha149

Applied pull request https://github.com/kbwood/svg/pull/8 by micha149