Allowing dir attribute within a <div> element within 'whitelist.properties' file through entry:

html.tag.div=,align[:left:center:right:justify:],dir[:ltr:rtl:auto:],