내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

RTE- link issue: Special character & is getting converted to &

Avatar

Level 1

Hi,

We have a requirement to have a custom link plugin where link will contain & char but RTE is converting it to & while storing the data into jcr.

Is there any way to prevent it from being converted and have it as & only?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 2

You can write a JAVA code to read that value and save it in a variable, then you can replace &amp to &  and then you can use that variable further using Sightly.

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Level 2

You can write a JAVA code to read that value and save it in a variable, then you can replace &amp to &  and then you can use that variable further using Sightly.

Avatar

Community Advisor

Hi,

What is the issue?

It saves value in JCR as <a title="test" href="https://www.google.co.in/?q=1&amp;ap=2" target="Target">provide</a>  but in the page it is rendering correct like below https://www.google.co.in/?q=1&ap=2

https://www.google.co.in/?q=1&ap=2

Arun Patidar

AEM LinksLinkedIn