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?
Solved! Go to Solution.
You can write a JAVA code to read that value and save it in a variable, then you can replace & to & and then you can use that variable further using Sightly.
You can write a JAVA code to read that value and save it in a variable, then you can replace & to & and then you can use that variable further using Sightly.
Hi,
What is the issue?
It saves value in JCR as <a title="test" href="https://www.google.co.in/?q=1&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
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies