Wrapping text nodes into tracking span