Validation issue

Hello,

 

I was validating a page
https://www.lenetek.com/blog/sas-combining-variables-from-different-datasets
/, which contains some SAS programming language code example. SAS code uses
& prefix as its macro variable reference.

 

This code is surrounded by <pre> . SAS code. </pre> tag to  maintain
indentation.

 

However, validator https://validator.w3.org/nu/ reports the following
"ERROR"s:



 

If &amp; is used within <pre></pre> as suggested, it will not show as &. The
validator should not mark as an ERROR any text that is within <pre></pre>
tags (or <code></code>) as the whole purpose of those tags is to use them to
display some (not necessarily HTML) code. The text displayed on the page is
valid SAS code.

 

Please let me know if this problem can be resolved.

 

Sincerely,

 

Leonid Batkhan

SAS Blogger <https://blogs.sas.com/content/author/leonidbatkhan/> 

 



-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Received on Tuesday, 17 March 2020 09:37:01 UTC