I need help with highlighting Arabic text. When I try to mark individual letters, the connected nature of Arabic characters causes the word to break. Does anyone have a solution for this?
For example: original word: سلام I only want to highlight the second letter
original word:
<span>سلام</span>
add tag after highlighting:
<span>س<span class='highlight'>ل</span>ام</span>
this change will result in displaying "سلام" as "سلام"