eZ XML/OE stole my line breaks

I am currently working on implementing syntax highlighting for my blog to make it easier to post snippets of code, at the moment they are less than readable.

I have built out new template operators and handled the syntax highlighting, but I have one niggly little problem prior to actually using the highlighting. It seems everytime I paste code into the literal tag within eZOE it strips out the line breaks. This unfortunately renders multiple lines of code into a garbled mess, essentially the same point I was at prior to wasting my time on this :)

I have played a little with the ezoe input parser and similar files but have yet to figure out why line breaks are stripped out, or why they are not recognised when pasted in as opposed to entered manually with shift+return.

If any one has any insight into this delightful little problem I would love to hear it.


 
 
 
blog comments powered by Disqus