Not getting line breaks in <code lang="xml"> tags

Topics: User Forum
Aug 1, 2007 at 3:46 PM
Edited Aug 1, 2007 at 3:51 PM
I'm trying to include some sample XML in a <code> tag within an <example> tag. The line numbering and syntax coloration are working properly, but I can't figure out how to cause the XML to be output with appropriate line feeds. Following is a sample of what my source code contains:

http://www.dubbadee.com/sourcesample.gif

And here is how it's being output:

http://www.dubbadee.com/outputsample.gif

If anyone could help me to overcome this, I'd really appreciate it. Thanks!

Derek
Aug 1, 2007 at 4:54 PM
Aha. I saw this post http://www.codeplex.com/SHFB/WorkItem/View.aspx?WorkItemId=6299, which suggests including an external source file. That does the job.

Derek