RTE is not able to render the same HTML as added in RTE.
In xssProtection config
To resolve this I have added
<regexp name="telListing" value="tel:\+[0-9]+"/>
<attribute name="href">
<regexp-list>
<regexp name="telListing"/>
</regexp-list>
</attribute>
it is accepting <a href="tel:1234567890">1234567890</a>
but not <a href="tel:+1234567890"> 1234567890</a>
adding plus is an issue
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Ronnie09 ,
Try this,
<regexp name="telURL" value="tel:[0-9]+"/>
References: https://experience-aem.blogspot.com/2015/05/aem-6-sp2-handling-custom-protocol-in-link-href-in-rte.h...
Hope that helps!
Regards,
Santosh
Hi @Ronnie09 ,
Try this,
<regexp name="telURL" value="tel:[0-9]+"/>
References: https://experience-aem.blogspot.com/2015/05/aem-6-sp2-handling-custom-protocol-in-link-href-in-rte.h...
Hope that helps!
Regards,
Santosh
Hi @SantoshSai
In aem as cloud service I have tried by overlaying and added the regex expression as given below but that doesn't work , tel:1234567890 this is working but when we use + character tel:+1234567890 this is not working and that to in only dialog , when I am trying to unlink I am not able to unlink it and in repository its saving as tel:+1234567890 on page its rendering as expected and the functionality is working as well but when I am trying to open and edit it I am not able to unlink .
Views
Replies
Total Likes
Hi @Ronnie09 ,
I am able to replicate this issue in AEM 6.5.15, link is getting removed when trying to create the link in rte with tel:+1234567890 and works fine as you mentioned without the country code.
This article should help you with your issue:
http://www.sgaemsolutions.com/2019/12/hreftel-issue-for-international-numbers.html
Thanks,
Chitra
Hi @Ronnie09
Did this fix resolved the issue when you are adding + ...?
tel:1234567890 this is working but tel:+1234567890 this is not working
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies