On 22/1/2013 1:53 AM, Mohit Sindhwani wrote:
Hi, I have a problem that I can't explain.
I am using the Coderay plugin for syntax highlighting but I see
different results if I render it within a page part or within the body.
I am using this:
<notextile>
<r:code language="c" line_numbers="true" textile="true">
...
int ercd;
...
ercd=call_func(num);
...
</r:code>
</notextile>
If I put this into the "body" part, it all works fine. If I put it
under a part called "csamples", it renders extra <br /> at the end of
each line.
Any thoughts on this.. or what I should look for?
Best Regards,
Mohit.