Sorry for the delay, I was out of the office.
To add SAS code I click on the "Running Man" and a Pop-up windows appear. If you use the Pop-up windows all work fine. For example
Proc freq test;
by var;
run;
Imagine that you forget about to type the by var and added out of the pop-up windows, in the resulting gray box. You get something like
Proc freq test;
by var;
run;
The result doesn't respect enters and things like that, even when in the text or preview two text look equal