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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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