Issue in adding special character to RTE Link plugin for href | Community
Skip to main content
Kiran_Vedantam
Community Advisor
Community Advisor
July 27, 2021

Issue in adding special character to RTE Link plugin for href

  • July 27, 2021
  • 1 reply
  • 991 views

Facing Issue in adding special character to RTE Link plugin for href

Once the special characters are added, it is not showing the link. I tried following the solution said in this link: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/alt-text-issue-in-links-in-rte-when-alt-text-has-a-special/qaq-p/249249 but as the issue is for href and href already has some of the regex applied, and custom values are not getting accepted. Please suggest

 

@kautuk_sahni 

 

Thanks,

Kiran Vedantam.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Community Manager
Community Manager
July 28, 2021

---------------------------------------

Not Tested But it should work

---------------------------------------

If you trying to add special character to the URL as Query parameters, I would recommedn encoding the URL string.

Example:

The parameter may be submitted via a URL such as "http://www.awebsite.com/encodingurls/submitmoviename.html?movie1=Fast & Furious". In this example, space and & need to be handled specially, otherwise it may not be interpreted properly - for example, the associated GET request may fail.

These character can be encoding:
      Space as '%20' or '+'
      '&' as '%26'

And thus the URL, after encoding, would look like 'http://www.awebsite.com/encodingurls/submitmoviename.html?movie1=Fast+%26+Furious'.

 

Use this tool: https://www.w3schools.com/tags/ref_urlencode.ASP

 

 

Kautuk Sahni
Kiran_Vedantam
Community Advisor
Community Advisor
July 28, 2021

Hi @kautuk_sahni,

 

Thanks for your response. Dont we have an option to do it the way we add it in XSS file? We have to author that in many pages.

 

Thanks,

Kiran Vedantam.

kautuk_sahni
Community Manager
Community Manager
August 17, 2021

Not that I am very aware of this. 

Kautuk Sahni