fixed text style
tweaked width style replacements to avoid replacing "stroke-width" attribute