In the RTE when we are linking to their respective pages. Every time I try to add a link, if I exit out and go to edit and open the dialog ,the hyperlinks get removed in RTE. Could anyone help me on this.
Thanks & Regards,
I expect you are adding certain characters in the href attribute which your xss protection is not satisfying. I believe you might be getting error something like .
: org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The a tag contained an attribute that we could not process. The href attribute had a value of <some dummy value>. This value could not be accepted for security reasons. We have chosen to remove this attribute from the tag and leave everything else in place so that we could process the input.