I'm trying to unwrap a string in CsQuery. The functionality works, but I want to add a whitespace char between each tag.
Dim fragment = CsQuery.CQ.Create(<div>some text</div><div>More text</div>)
Dim unwrapTags = New List(Of String) With {"div"}
For Each s In unwrapTags
fragment(s).Contents.Unwrap() 'Here I want to add a whitespace between every tag
Next
' Should outprint "some text More text ", not "some textMore text"
Return fragment.Render(CsQuery.OutputFormatters.HtmlEncodingMinimum)
What is the best way to achieve this effect?