uber-archive/node-stap

Work around svg corruption

Opened this issue · 0 comments

3032 "2" ry="2" onmouseover="s("shouldRequest:s^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
   3032 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@:336 (1 samples, 0.0   3032 2%)")" onmouseout="c()" />

Sometimes something causes corrupt function names or svgs.

This does not effect html as it doesnt break the html rendered.

However the chrome svg renderer chokes. We need to strip these ^@ control characters.