1

I'm currently developing wiki pages in TFS 2018 via Markdown. But as far as I know, there appears to be no way to create a link on a wiki page that opens within a new tab. All links created open in the existing tab. I read through the wiki documentation. I also reported it to be an official feature. But does anyone have any tricks or hacks I could implement in order to get that going for now?

Update : I have tried basic html such as:

<a href="https://www.google.com" target="_blank">Google Link</a>

But when I click save and view that link in Chrome Developer Tools, TFS 2018 is stripping out the target="_blank". Any possible reasons why TFS would do this?

Many thanks!

klewis
  • 7,459
  • 15
  • 58
  • 102
  • I'm not familiar with how TFS creates links, but in Markdown any feature not supported can be implemented with raw HTML. In your Markdown, just include a raw HTML link to the page which opens in a new tab: `Link`. See [How to open link in new tab on html?](https://stackoverflow.com/q/17711146/866026) – Waylan Nov 02 '18 at 20:18
  • when I place that in a wiki page and click save, and then inspect the code from developer tools, TFS removes target="_blank" from that link. – klewis Nov 05 '18 at 17:20
  • It is not uncommon for various tools to sanitize HTML for "security concerns" and/or to have more control over the "user experience". Disabling the ability to open in a separate tab seems to fall into the later which suggests this was a conscious decision. In other words, the option is intentionally not supported. – Waylan Nov 05 '18 at 20:51
  • hmm...I totally get the concept of delivering a default standard with a product OOTB. But if the tool is then purchased and managed by a corporate entity, then there should be some flexibly in allowing that group to determine what a security concern is (i.e. here are settings to adjust what we recommend by default). That seems reasonable. Hopefully this was an overlook. – klewis Nov 06 '18 at 15:30

1 Answers1

1

I tried now in Azure DevOps and it opens a new tab:

[Google](https://www.google.com)

enter image description here

Update:

It works only in Azure DevOps and not in TFS 2018.

Shayki Abramczyk
  • 36,824
  • 16
  • 89
  • 114