SOLVED

Links in Quick Links webpart encoded automatically in modern pages

%3CLINGO-SUB%20id%3D%22lingo-sub-695178%22%20slang%3D%22en-US%22%3ELinks%20in%20Quick%20Links%20webpart%20encoded%20automatically%20in%20modern%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-695178%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20SharePoint%20Online%20modern%20page%2C%20When%20inserting%20an%20external%20link%20containing%20braces%20the%20link%20is%20added%20properly%20for%20the%20first%20time%20and%20then%20we%20publish%20the%20page%20and%20it%20all%20works%20fine.%20When%20we%20edit%20the%20page%20for%20making%20some%20changes%20and%20when%20we%20do%20republish%20the%20links%20are%20automatically%20encoded%20and%20this%20results%20in%20broken%20links%20in%20the%20page.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20to%20replicate%3F%26nbsp%3B%3C%2FP%3E%3CP%3EAdd%20a%20quick%20link%20containing%20open%20and%20close%20braces%20(%20)%20and%20save%20it%20and%20publish.%20Then%20open%20the%20same%20page%20and%20do%20a%20republish.%20The%20link%20with%20braces%20are%20encoded%20automatically.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EExpected%20behavior%3C%2FP%3E%3CP%3EQuick%20links%20webpart%20must%20preserve%20the%20braces%20and%20should%20not%20encode%20them%20automatically.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAppreciate%20any%20help%20on%20this%20issue.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-695178%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-698613%22%20slang%3D%22en-US%22%3ERe%3A%20Links%20in%20Quick%20Links%20webpart%20encoded%20automatically%20in%20modern%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-698613%22%20slang%3D%22en-US%22%3EQuick%20links%20webpart%20is%20kind%20of%20meh%20right%20now%20the%20way%20it%20handles%20URLs.%20I%20always%20use%20url%20shortening%20services%20to%20link%20to%20external%20sites%2C%20that%E2%80%99s%20been%20the%20best%20solution%20to%20these%20problems%20unfortunately.%20%3CBR%20%2F%3E%3CBR%20%2F%3EI%20wrote%20a%20blog%20awhile%20back%20about%20it%20for%20using%20other%20link%20types.%20%3CA%20href%3D%22https%3A%2F%2Fwebbtech365.blogspot.com%2F2018%2F11%2Fuse-mailto-and-other-link-types-with.html%3Fm%3D1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwebbtech365.blogspot.com%2F2018%2F11%2Fuse-mailto-and-other-link-types-with.html%3Fm%3D1%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-698806%22%20slang%3D%22en-US%22%3ERe%3A%20Links%20in%20Quick%20Links%20webpart%20encoded%20automatically%20in%20modern%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-698806%22%20slang%3D%22en-US%22%3EURL%20shortener%20is%20a%20brilliant%20workaround.%20We'll%20surely%20give%20that%20a%20try.%3C%2FLINGO-BODY%3E
New 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 (New 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.