This project has moved and is read-only. For the latest updates, please go here.

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

Topics: User Forum
Aug 1, 2007 at 4:46 PM
Edited Aug 1, 2007 at 4: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 5:54 PM
Aha. I saw this post, which suggests including an external source file. That does the job.