text is like
<tag>Head Office41-43 Ricketts Road<tag/> <tag>Mount Waverley, Melbourne<tag/>
iam getting result as
Head Office41-43 Ricketts RoadMount Waverley, Melbourne
but i want it as
Head Office41-43 Ricketts Road Mount Waverley, Melbourne
code i am using is
response.xpath('string(normalize-space(//*/text()[contains(normalize-space(), "{}")]/../..))'.format(marker))
where marker is the text.
so instead of RoadMount
I want Road Mount
see the tag wrapped: enter image description here
this is the code iam using enter image description here