I confirmed that these spaces are truly stripped when used in a component. Could you explain your use case for needing the extra spaces? With your input we can file a feature request ticket to add an option which prevents the stripping of additional spaces!
hey @rmirchandani, are you only formatting your string using extra spaces? Are there any additional changes you're making? Could you share a screenshot of your set up and what you're seeing?
The <pre> HTML element represents preformatted text which is to be presented exactly as written in the HTML file. The text is typically rendered using a non-proportional, or monospaced, font. Whitespace inside this element is displayed as written.