BookmarkSubscribeRSS Feed
Patrick
Opal | Level 21

 

I'm posting the following into a "SAS" window:

Capture.PNG

 

 

It changes one of my colons into &colon:

 

        do i=2 to dim(mgrids);
          h1.add(key:mgrids[i], data:mgrids[i-1]);
        end;

 

2 REPLIES 2
RW9
Diamond | Level 26 RW9
Diamond | Level 26

That's quite odd.  I know HTML tagset converts : to &colon, and same for less than/greater than, so I would assume your using the HTML edit box?  If so then its the converter behind the HTML box which is doing it, as its tags the code up.  Does it do the same in the Rich Text, or if you post code using the code editor = {i}?  I tend to use the code editor all the time now.

LainieH
Community Manager

Thank you @RW9 and @Patrick, I am not sure what is happening here yet. I want to cc @ChrisHemedinger in case there is something we can adjust in the SAS Syntax highlighter code.

 

Thanks for bringing this to our attention.

 

Lainie

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 2 replies
  • 2145 views
  • 0 likes
  • 3 in conversation