Are external URLS allowed in wiki style articles?

amtvd27
Kilo Contributor

When I created an external url using these methods, none of the links open properly.

 

*[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>
* <a href="https://apple.co/3GGMxeK" target="_blank">Apple Platform Deployment</a>

The issue is when a KB Article type is set to Wiki, the external URL is 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 code 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>


Thanks is advance for the help. I promise this isn't spam!

1 REPLY 1

GlideFather
Tera Patron

Hi @amtvd27,

 

when you are setting a link in the editor, you can select if it is opened in the same window, in a new tab, ...

 

My PDI is under maintenance so I cannot show you a screenshot at this moment, but give it a try.

Refer to this: Knowledge article URLS opening in "New Window" as "Default" 

_____
No AI was used in the writing of this post. Pure #GlideFather only