I want to display a huge XML on the HTML page using Angular 8. I have using an external package to properly format the XML
(with proper indentation and line breaks), however, XML appears in one line on the UI when I use string interpolation. It appear properly when I use the <pre>
tag, but then it ignores my CSS
.
Is there a way to display properly formatted XML along with CSS styles on it?
block?](https://stackoverflow.com/questions/1011641/how-to-preserve-line-breaks-in-code-block)
– kvetis Jan 10 '20 at 16:50