I have a custom module containing some normal text but also some PHP code.
The code is executed with DirectPHP.
When I add a div around the whole thing I find that switching between the code and editor tabs of JCE removes all the linefeeds in the PHP code.
Attached are views of
the code without the div in the Editor tab
the code with the div in Code tab
and lastly the code with the div when you go into the Editor tab
Am I missing something or is this a bug
Any help gratefully receieved
The code is executed with DirectPHP.
When I add a div around the whole thing I find that switching between the code and editor tabs of JCE removes all the linefeeds in the PHP code.
Attached are views of
the code without the div in the Editor tab
the code with the div in Code tab
and lastly the code with the div when you go into the Editor tab
Am I missing something or is this a bug
Any help gratefully receieved