Added “dir=auto” to HTML output for natural writing direction

The additional attribute “dir=auto” is only added to HTML elements with an undefined writing direction (“natural”), e.g. for Arabic or Hebrew.