Are external URLs allow in wiki Article Types?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello and thank you in advance for your help.
The issue is when a KB Article type is set to Wiki external URL opening in a new tab. I think this is because the the links rendered in the article are stripped of their attributes. This part, I don’t know why. But I think this is the root cause. I checked the source of the wiki article to verify. This is the link that I made in the editor.
The issue is when a KB Article type is set to Wiki external URL opening in a new tab. I think this is because the the links rendered in the article are stripped of their attributes. This part, I don’t know why. But I think this is the root cause. I checked the source of the wiki article to verify. This is the link that I made in the editor.
<a href="https://apple.co/4ivGgB3" target="_blank" rel="noopener noreferrer">Apple Platform Support</a>
And this is the link that is rendered after the DOM loads. Notice how the target is missing and the rel attributes I assigned are gone. I’ve told it to open in a new blank tab with the required rel attributes. But somewhere service now removes them. I'm on the xanadu-platform if this is important to know.
<a href="https://apple.co/4ivGgB3" rel="nofollow">Apple Platform Support</a>
This may be a bug, but it’s unexpected behavior. According to Service now, with the wiki markup language, links to external sources AND sources within the system should work. It might be just an issue with wiki article type. Do you see this same behavior? Is is something I'm doing incorrectly?
There are the 3 urls I have tried without success. With a wiki article type, these do not work, if I switch it to HTML the external URLS work fine. I've tested in Firefox, chrome and safari.
There are the 3 urls I have tried without success. With a wiki article type, these do not work, if I switch it to HTML the external URLS work fine. I've tested in Firefox, chrome and safari.
*[http://community.service-now.com/ testing] * <a href="https://apple.co/4ivGgB3" target="_blank" rel="noopener noreferrer">Apple Platform Support</a> * <a href="https://apple.co/44FwlCL" target="_blank">Apple Platform Security</a>
Thank you in advance for looking into this for me.
0 REPLIES 0