I'm creating a custom display form for a document library in SharePoint 2013 using SharePoint Designer. The problem is that the text in the multiple lines of text column (Notes in the screenshots below) does not retain their formatting, specifically carriage returns. The first image below is the default DispForm.aspx file. The second image is my custom DispForm. As you can see in the first image, the carriage returns I put in the field work correctly but those carriage returns are not in the custom form.
How do I make the carriage returns work in my custom form?
I've already applied the disable-output-escaping option.
<xsl:value-of select="@Notes0" disable-output-escaping="yes"/>