title: Spacing around NSTextAttachment
body: <p>How do I make spacing around NSTextAttachments like in the example below?</p>
  
  <p>In the example No spacing is the default behaviour I get when I append a NSTextAttachment to a NSAttributedString.</p>
  
  <p><a href="https://i.stack.imgur.com/iNbkE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iNbkE.png" alt="enter image description here"></a></p>