DATA Step, Macro, Functions and more

For Forum Admin: Bug in Forum Application

Reply
Respected Advisor
Posts: 3,887

For Forum Admin: Bug in Forum Application

Dear forum admin(s)

It seems that there is a little bug in the HTML encoding/decoding in this page for lines with '<' and a slash '/'.
Just copy the line above and and use it in a new post and you'll see what I'm talking about.

To be able to write the '<' I had to use the HTML coding '& l t ;' (without the blanks).

The following code seems to be stored correctly (I can recall it and see all of it in the editor window) but only part of it is shown in the forum.

I made some tests: It seems to be the combination of bracket and slash in one line.

If you have a look into the data you will see that there is more than what is shown below.

data work.rsubset(drop=obsleft sampsize);
sampsize=10;
obsleft=totobs;
do while(sampsize>0);
pickit+1;
if ranuni(0) < sampsize / obsleft then do;
set sasuser.revenue point=pickit
nobs=totobs;
output;
sampsize=sampsize-1;
end;
obsleft=obsleft-1;
end;
stop;
run;

Message was edited by: Patrick

Message was edited by: Patrick

Message was edited by: Patrick

Message was edited by: Patrick
Respected Advisor
Posts: 3,887

Re: For Forum Admin: Bug in Forum Application

Dear forum admin(s)

It seems that there is a little bug in the HTML encoding/decoding in this page for lines with '<' and a slash '/'.
Just copy the line above and and use it in a new post and you'll see what I'm talking about.
SAS Employee
Posts: 224

Re: For Forum Admin: Bug in Forum Application

Patrick,
Thank you for reporting this problem. I have a feeling that part of it has to do with trying to convert characters into emoticons. We'll look into it and see what we can do. I'll post results here and in the Support News blog (http://blogs.sas.com/supportnews)
Thanks again.
-renee
Ask a Question
Discussion stats
  • 2 replies
  • 118 views
  • 0 likes
  • 2 in conversation