Update text.class.js

fix text top position in svg export