I have 2 cases where I need to display text with multiple spaces (I'm using template with <pre>) tag and could use some help:

- when displaying text with template using <pre> tag in data grid there is a box around my text and it does not look good. What is the best way to remove this box

- I need to display the same text on details view and I'm using read-only to edit view template. Is there a way to use template with <pre> tag for fields on read-only view? There is no option for this in GUI and changing generated template page is not a good idea because it will be overwritten. How can i change template for the field in this view?