SOLVED

Links in Quick Links webpart encoded automatically in modern pages

Copper Contributor

In SharePoint Online modern page, When inserting an external link containing braces the link is added properly for the first time and then we publish the page and it all works fine. When we edit the page for making some changes and when we do republish the links are automatically encoded and this results in broken links in the page.

 

How to replicate? 

Add a quick link containing open and close braces ( ) and save it and publish. Then open the same page and do a republish. The link with braces are encoded automatically. 

 

Expected behavior

Quick links webpart must preserve the braces and should not encode them automatically.

 

Appreciate any help on this issue.

2 Replies
best response confirmed by rajeshb10 (Copper Contributor)
Solution
Quick links webpart is kind of meh right now the way it handles URLs. I always use url shortening services to link to external sites, that’s been the best solution to these problems unfortunately.

I wrote a blog awhile back about it for using other link types. https://webbtech365.blogspot.com/2018/11/use-mailto-and-other-link-types-with.html?m=1
URL shortener is a brilliant workaround. We'll surely give that a try.
1 best response

Accepted Solutions
best response confirmed by rajeshb10 (Copper Contributor)
Solution
Quick links webpart is kind of meh right now the way it handles URLs. I always use url shortening services to link to external sites, that’s been the best solution to these problems unfortunately.

I wrote a blog awhile back about it for using other link types. https://webbtech365.blogspot.com/2018/11/use-mailto-and-other-link-types-with.html?m=1

View solution in original post