I'm afraid if there a complete solution, but as a workaround you can use 2 special Unicode characters. Use ARABIC TATWEEL
character after ح
and use ZERO WIDTH JOINER
character after ا
.
In HTML
you should try this:
حـ<strong>ا‍</strong>ل
You can try it here. For more info refer to Iranian national standards ISIRI 6219
and ISIRI 9147
. You can also try asking question in Persian Computing Community
.