So you want to add a URL or an email mailto: in that little footnote of your PROC REPORT so people can pester you with more questions?
But instead of 'Contact Us' the entire string appears:
<a href="mailto:bi-weblog@earthlink.net">Contact Us<a/>
The Magic?? Add the <div;> </div> tags around the string, so the page renders this correctly.
Here is the sas code:
footnote1 ' <div> <a href="mailto:bi-weblog@earthlink.net">Contact Us</a> </div>';
8 Comments
And... for the explanation:
Do not use any text Outside the "DIV" tags in the footnote command. The HTML-text (like setting the line to a particular color/font) inside the footnote quotes 'resolves' correctly if the entire line begins and ends with the div tags, and no other text outside it. (Add the remaining text on other footnote lines, if needed.)
Thank you, Angela.
Exactly.
Is there a way to do that in Enterprise Guide? Even with the "div" tags added around the text, the footnote still "resolves" to display the entire typed-in html text (including the "" text.
Reni,
Verify that the Results are generating 'HTML' output rather than the 'SAS Report' format. This is a preference stored in Tools -> Options -> Results General.
~ Angela
Correct (html). I'll use wrapper code instead as the workaround. Thanks.
Reni,
Sorry you are still having trouble. I was able to successfully get EG output (in 4.3) using the <div></div> tags within the footnote text box of a EG Task.
<div>Click this <a href="bi-notes.com">link</a></div>
Might want to check in with Tech Support to see if something is set in your Options that is causing the html code to be displayed.
~ Angela
Disregard the last post, as the "contact us" line copied from above did work. I will check why other html does not.
Oh good news! Thanks for following up Reni.