If you parse it yourself, don't simply replace the space, first check whether the space is in >; & ltBetween, in >< delete spaces.