This project has moved. For the latest updates, please go here.

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:

And here is how it's being output:

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

Aug 1, 2007 at 4:54 PM
Aha. I saw this post, which suggests including an external source file. That does the job.