Line break within tag adds extra space

By some reason following layout are rendered slightly different:

<p>
  let us check how
  this text will be rendered
</p>
<p>let us check how this text will be rendered</p>

First text has extra space in the beginning which is not correct behavior for text rendering
image

Seems like an issue that might be addressed in the future releases. @kerrishotts to confirm

Which version of XD is this?

Sorry, good point to start with version and platform :slight_smile: It’s 20.0.25.3, behavior is the same on both win and mac.

What’s your host.minVersion set to? If it’s < 20.0, you’ll end up in back-compat mode, which respects white space to a degree (so the initial indent on <p> gets rendered).

1 Like

Cool thanks, updating manifest host version fixed the problem.

1 Like