Fix regex bug and add support for other svg elements
Test run after merging PR #82