Line feeds / Line breaks Sharepoint Dataviews
December 2nd, 2008 . by <Patrick/>After having published an Infopath form with a rich textbox field to a document library, I created a dataview of the list.
The column that came from the rich textbox control (Comments)Â lost it’s linebreaks. In order to fix the problem I used the following code:
 <xsl:value-of select="ddwrt:AutoNewLine(string(@Comments))" disable-output-escaping="yes" />
Â